mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-25 16:03:13 +00:00
use config
This commit is contained in:
parent
df326ec97c
commit
5b3c501d74
@ -196,7 +196,7 @@ p.parseIntArray = p.parseStringArray = function(value) {
|
||||
}
|
||||
else if (elementType == 0x19) {
|
||||
// string
|
||||
var result = value.toString('utf8', offset >> 3, (offset += (length << 3)) >> 3);
|
||||
var result = value.toString(this.encoding, offset >> 3, (offset += (length << 3)) >> 3);
|
||||
return result;
|
||||
}
|
||||
else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user