Skip to content

Commit 3e0f752

Browse files
committed
Clean up
1 parent 870c782 commit 3e0f752

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/index.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -187,15 +187,13 @@ function Postgres(url, options) {
187187

188188
function getConnection(reserve) {
189189
const connection = --max >= 0 ? createConnection(options) : connections.shift()
190-
!options.fifo && !reserve && connection && connections.push(connection)
190+
!reserve && connection && connections.push(connection)
191191
return connection
192192
}
193193

194194
function createConnection(options) {
195195
const connection = Connection(options)
196196
all.push(connection)
197-
fetchArrayTypes(connection)
198-
199197
return connection
200198
}
201199

@@ -464,7 +462,6 @@ function parseOptions(uri = {}, options) {
464462
user : o.user || o.username || auth[0] || env.PGUSERNAME || os.userInfo().username,
465463
pass : o.pass || o.password || auth[1] || env.PGPASSWORD || '',
466464
max : o.max || url.query.max || Math.max(1, os.cpus().length),
467-
fifo : o.fifo || url.query.fifo || false,
468465
types : o.types || {},
469466
ssl : o.ssl || url.ssl || false,
470467
timeout : o.timeout,

0 commit comments

Comments
 (0)