Skip to content

Commit

Permalink
Numeric fields returned as text (brianc#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
anvuong committed Nov 24, 2019
1 parent 8dbd27c commit 9027971
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/textParsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ var parseCircle = function (value) {
}

var init = function (register) {
register(20, parseBigInteger) // int8
register(20, parseInt) // int8
register(21, parseBaseTenInt) // int2
register(23, parseBaseTenInt) // int4
register(26, parseBaseTenInt) // oid
Expand All @@ -136,7 +136,7 @@ var init = function (register) {
register(1005, parseIntegerArray) // _int2
register(1007, parseIntegerArray) // _int4
register(1028, parseIntegerArray) // oid[]
register(1016, parseBigIntegerArray) // _int8
register(1016, parseIntegerArray) // _int8
register(1017, parsePointArray) // point[]
register(1021, parseFloatArray) // _float4
register(1022, parseFloatArray) // _float8
Expand Down

0 comments on commit 9027971

Please sign in to comment.