We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d994000 commit fd6621bCopy full SHA for fd6621b
1 file changed
packages/pg/lib/client.js
@@ -490,6 +490,11 @@ class Client extends EventEmitter {
490
_handleParseComplete() {
491
const activeQuery = this._getCurrentQuery()
492
if (activeQuery == null) {
493
+ // In pipeline mode, parseComplete might be received before queries are fully processed
494
+ // This is normal behavior, so we can safely ignore it
495
+ if (this._pipelining) {
496
+ return
497
+ }
498
const error = new Error('Received unexpected parseComplete message from backend.')
499
this._handleErrorEvent(error)
500
return
0 commit comments