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 34499ce commit c42122aCopy full SHA for c42122a
1 file changed
packages/pg/lib/client.js
@@ -525,11 +525,6 @@ class Client extends EventEmitter {
525
_handleParseComplete() {
526
const activeQuery = this._pipelineMode ? this._getCurrentPipelineQuery() : this._getActiveQuery()
527
if (activeQuery == null) {
528
- // In pipeline mode, parseComplete can arrive before we've processed the query
529
- // This is expected behavior - just ignore it if we don't have a query yet
530
- if (this._pipelineMode) {
531
- return
532
- }
533
const error = new Error('Received unexpected parseComplete message from backend.')
534
this._handleErrorEvent(error)
535
return
0 commit comments