diff --git a/packages/pg/lib/client.js b/packages/pg/lib/client.js index 7d1ad8409..9200dded6 100644 --- a/packages/pg/lib/client.js +++ b/packages/pg/lib/client.js @@ -33,7 +33,7 @@ const byoPromiseDeprecationNotice = nodeUtils.deprecate( const queryQueueLengthDeprecationNotice = nodeUtils.deprecate( () => {}, - 'Calling client.query() when the client is already executing a query is deprecated and will be removed in pg@9.0. Use asycn/await or an external async flow control mechanism instead.' + 'Calling client.query() when the client is already executing a query is deprecated and will be removed in pg@9.0. Use async/await or an external async flow control mechanism instead.' ) class Client extends EventEmitter { diff --git a/packages/pg/lib/native/client.js b/packages/pg/lib/native/client.js index dae503c80..d8bb4dce5 100644 --- a/packages/pg/lib/native/client.js +++ b/packages/pg/lib/native/client.js @@ -17,7 +17,7 @@ const NativeQuery = require('./query') const queryQueueLengthDeprecationNotice = nodeUtils.deprecate( () => {}, - 'Calling client.query() when the client is already executing a query is deprecated and will be removed in pg@9.0. Use asycn/await or an external async flow control mechanism instead.' + 'Calling client.query() when the client is already executing a query is deprecated and will be removed in pg@9.0. Use async/await or an external async flow control mechanism instead.' ) const Client = (module.exports = function (config) {