mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
Send sync after flush
This commit is contained in:
parent
bf469399b8
commit
a79c8e7992
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user