title: Knex with PG Client error while migrating
body: <p>i am new to the Knex here is my code for environment unable to migrate in can someone explain the reason of error</p>
  
  <pre><code>development: {
    client: 'pg',
    connection: {
      host: 'localhost',
      user: 'root',
      password: 'root',
      port: 8889,
      database: 'tuitionBuzz'
    },
    pool: {
      min: 0,
      max: 10,
    },
    acquireConnectionTimeout: 10000,
    migrations: {
      directory: __dirname + '/db/migrations',
    },
    seeds: {
      directory: __dirname + '/db/seeds',
    },
  }
  </code></pre>
  
  <p>getting error while Migrating in </p>
  
  <pre><code>npx knex migrate:rollback
  Using environment: development
  /Users/mohdmaroof/Desktop/tuitionBuzz Node.js web/node_modules/pg/lib/connection.js:121
        var eventName = msg.name === 'error' ? 'errorMessage' : msg.name
                            ^
  
  TypeError: Cannot read property 'name' of undefined
      at Socket.&lt;anonymous&gt; (/Users/mohdmaroof/Desktop/tuitionBuzz Node.js web/node_modules/pg/lib/connection.js:121:27)
      at Socket.emit (events.js:182:13)
      at addChunk (_stream_readable.js:283:12)
      at readableAddChunk (_stream_readable.js:264:11)
      at Socket.Readable.push (_stream_readable.js:219:10)
      at TCP.onread (net.js:638:20)
  </code></pre>