node-postgres
node-postgres copied to clipboard
fix: Connection timeout handling for native clients in connected state
Now, when using the native client with a connection timeout, the pool could incorrectly destroy or end a client that was already connected, due to not distinguishing between connection states. This caused issues such as https://github.com/brianc/node-pg-native/issues/49, where a native client that had already established a connection could be forcefully closed if the connection callback was delayed past the timeout.
@brianc Hello! Sry for tag. Can u check PR pls?
or maybe @charmander can check pls?
@charmander @brianc Hello! Can u check PR pls