diff --git a/packages/pg/lib/index.js b/packages/pg/lib/index.js index c3062947d..c73064cf2 100644 --- a/packages/pg/lib/index.js +++ b/packages/pg/lib/index.js @@ -15,8 +15,7 @@ var Pool = require('pg-pool') const poolFactory = (Client) => { return class BoundPool extends Pool { constructor (options) { - var config = Object.assign({ Client: Client }, options) - super(config) + super(options, Client) } } }