We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 143ed29 commit bf7e6c7Copy full SHA for bf7e6c7
packages/pg/lib/connection.js
@@ -381,8 +381,8 @@ var Message = function (name, length) {
381
382
Connection.prototype.parseMessage = function (buffer) {
383
this.offset = 0
384
- const length = buffer.length + 4;
385
- const code = this._reader.header;
+ const length = buffer.length + 4
+ const code = this._reader.header
386
switch (code) {
387
case 0x52: // R
388
return this.parseR(buffer, length)
@@ -447,7 +447,6 @@ Connection.prototype.parseMessage = function (buffer) {
447
case 0x64: // d
448
return this.parsed(buffer, length)
449
}
450
- console.log('could not parse', packet)
451
452
453
Connection.prototype.parseR = function (buffer, length) {
0 commit comments