You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working with postgresql and python, I am getting below errors (these are not persistent, sometimes it the one and sometimes it is the other):
KeyError: b'\x13'
KeyError: b'-'
KeyError: b'4'
Traceback (most recent call last): File "/home/site/wwwroot/shared_code/common_library.py", line 53, in execute_command output = cursor.execute(command) File "/home/site/wwwroot/.python_packages/lib/site-packages/pg8000/legacy.py", line 251, in execute self._context = self._c.execute_simple(operation) File "/home/site/wwwroot/.python_packages/lib/site-packages/pg8000/core.py", line 658, in execute_simple self.handle_messages(context) File "/home/site/wwwroot/.python_packages/lib/site-packages/pg8000/core.py", line 809, in handle_messages self.message_types[code](self._read(data_len - 4), context) KeyError: b'\x13'
We are executing many queries including drop and create tables simultaneously from different functions. We are doing it from Azure durable functions meaning every function will have a separate postgresql connection.
Hi @prashantmasuriaamdocs, thanks for your bug report. I think this should now be fixed in version 1.29.5. The commit that fixes it is a84bf8c. Let me know if it's still a problem though.
While working with postgresql and python, I am getting below errors (these are not persistent, sometimes it the one and sometimes it is the other):
KeyError: b'\x13'
KeyError: b'-'
KeyError: b'4'
Traceback (most recent call last): File "/home/site/wwwroot/shared_code/common_library.py", line 53, in execute_command output = cursor.execute(command) File "/home/site/wwwroot/.python_packages/lib/site-packages/pg8000/legacy.py", line 251, in execute self._context = self._c.execute_simple(operation) File "/home/site/wwwroot/.python_packages/lib/site-packages/pg8000/core.py", line 658, in execute_simple self.handle_messages(context) File "/home/site/wwwroot/.python_packages/lib/site-packages/pg8000/core.py", line 809, in handle_messages self.message_types[code](self._read(data_len - 4), context) KeyError: b'\x13'
We are executing many queries including drop and create tables simultaneously from different functions. We are doing it from Azure durable functions meaning every function will have a separate postgresql connection.
pg8000 version: 1.29.4
postgresql version: 11.18
Python version: 3.8
Let me know if it is something I can help with.
The text was updated successfully, but these errors were encountered: