Skip to content

Commit a79c8e7

Browse files
committed
Send sync after flush
1 parent bf46939 commit a79c8e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/pg/lib/connection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ Connection.prototype.flush = function () {
172172
const syncBuffer = serialize.sync()
173173
Connection.prototype.sync = function () {
174174
this._ending = true
175-
this._send(syncBuffer)
176175
this._send(flushBuffer)
176+
this._send(syncBuffer)
177177
}
178178

179179
const endBuffer = serialize.end()

0 commit comments

Comments
 (0)