Skip to content

Commit b9ab8f0

Browse files
committed
Add ref/unref noop to native client
1 parent 0da7882 commit b9ab8f0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/pg/lib/native/client.js

+3
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,9 @@ Client.prototype.cancel = function (query) {
285285
}
286286
}
287287

288+
Client.prototype.ref = function () {}
289+
Client.prototype.unref = function () {}
290+
288291
Client.prototype.setTypeParser = function (oid, format, parseFn) {
289292
return this._types.setTypeParser(oid, format, parseFn)
290293
}

0 commit comments

Comments
 (0)