Skip to content

Commit 681f67d

Browse files
author
Simone Nigro
committed
fix(connection-parameters): restrict pipelineMode to config only
1 parent 1c6ab8c commit 681f67d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/pg/lib/connection-parameters.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ class ConnectionParameters {
128128
}
129129

130130
// Pipeline mode configuration - enables sending multiple queries without waiting for responses
131-
this.pipelineMode = val('pipelineMode', config, false)
131+
// Read from config only (not from connection string or environment variables)
132+
this.pipelineMode = config.pipelineMode || false
132133
}
133134

134135
getLibpqConnectionString(cb) {

0 commit comments

Comments
 (0)