From f4579b7a9c357eddf81ec6b04b3d8c3822f747d0 Mon Sep 17 00:00:00 2001 From: rpedela Date: Sat, 10 Jan 2015 15:02:18 -0700 Subject: [PATCH] #701 Expose error fields added in PG 9.3. --- lib/connection.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/connection.js b/lib/connection.js index cc23343a..f11ecf05 100644 --- a/lib/connection.js +++ b/lib/connection.js @@ -551,6 +551,11 @@ Connection.prototype.parseE = function(buffer, length) { msg.internalPosition = fields.p; msg.internalQuery = fields.q; msg.where = fields.W; + msg.schema = fields.s; + msg.table = fields.t; + msg.column = fields.c; + msg.dataType = fields.d; + msg.constraint = fields.n; msg.file = fields.F; msg.line = fields.L; msg.routine = fields.R;