Skip to content

Commit f4579b7

Browse files
author
rpedela
committed
brianc#701 Expose error fields added in PG 9.3.
1 parent fbcf627 commit f4579b7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/connection.js

+5
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,11 @@ Connection.prototype.parseE = function(buffer, length) {
551551
msg.internalPosition = fields.p;
552552
msg.internalQuery = fields.q;
553553
msg.where = fields.W;
554+
msg.schema = fields.s;
555+
msg.table = fields.t;
556+
msg.column = fields.c;
557+
msg.dataType = fields.d;
558+
msg.constraint = fields.n;
554559
msg.file = fields.F;
555560
msg.line = fields.L;
556561
msg.routine = fields.R;

0 commit comments

Comments
 (0)