2
0

Instead of native map[string]string, use type pgx.Hstore instead

This commit is contained in:
Andy Walker
2014-09-18 13:22:51 -04:00
committed by Jack Christensen
parent 821605a8dd
commit 2f1ec582d7
3 changed files with 61 additions and 60 deletions
-2
View File
@@ -254,8 +254,6 @@ func (rows *Rows) Scan(dest ...interface{}) (err error) {
default:
rows.Fatal(fmt.Errorf("Can't convert OID %v to time.Time", vr.Type().DataType))
}
case *map[string]string:
*d = decodeHstore(vr)
case Scanner:
err = d.Scan(vr)
if err != nil {