diff --git a/packages/pg/lib/connection.js b/packages/pg/lib/connection.js index 98b6b5a5..65867026 100644 --- a/packages/pg/lib/connection.js +++ b/packages/pg/lib/connection.js @@ -172,8 +172,8 @@ Connection.prototype.flush = function () { const syncBuffer = serialize.sync() Connection.prototype.sync = function () { this._ending = true - this._send(syncBuffer) this._send(flushBuffer) + this._send(syncBuffer) } const endBuffer = serialize.end()