-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Cannot redefine property: parameters
when connections is severed unexpectedly
#854
Comments
Very nice bug report. Mind giving this branch a try? https://github.com/porsager/postgres/tree/error-reassign-fix You can try simply be |
i aim to please
tested locally, looks go - |
thanks a lot - merged to master |
node version: 18.18.2
package version: ^3.4.3
if postgres connection dies while queries are running i get an unrelated error:
jumping out of here:
postgres/cjs/src/connection.js
Lines 387 to 396 in cc688c6
for the purpose of reproducing this issue i have code that runs multiple queries that wait and i kill the container while its working:
The text was updated successfully, but these errors were encountered: