From f8746aa04a02b41b0c4cf9d41a115c33ecb5f08f Mon Sep 17 00:00:00 2001 From: Ben Drucker Date: Tue, 14 Oct 2014 16:29:34 -0400 Subject: [PATCH] Add jsonb support Closes https://github.com/brianc/node-postgres/issues/658 --- lib/textParsers.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/textParsers.js b/lib/textParsers.js index 27ebabd..7294e1b 100644 --- a/lib/textParsers.js +++ b/lib/textParsers.js @@ -262,6 +262,7 @@ var init = function(register) { register(1186, parseInterval); register(17, parseByteA); register(114, JSON.parse.bind(JSON)); + register(3802, JSON.parse.bind(JSON)); register(199, parseJsonArray); // json[] register(2951, parseStringArray); // uuid[] };