2
0

Fix Rows.Values with binary varchar

fixes #161
This commit is contained in:
Jack Christensen
2016-07-07 08:03:26 -05:00
parent 32184fcdaf
commit 1a4be31e7a
3 changed files with 14 additions and 11 deletions
+2
View File
@@ -345,6 +345,8 @@ func (rows *Rows) Values() ([]interface{}, error) {
values = append(values, vr.ReadString(vr.Len()))
case BinaryFormatCode:
switch vr.Type().DataType {
case TextOid, VarcharOid:
values = append(values, decodeText(vr))
case BoolOid:
values = append(values, decodeBool(vr))
case ByteaOid: