mirror of
https://github.com/jackc/pgx.git
synced 2025-05-31 11:42:24 +00:00
Fix error message for hstore
This commit is contained in:
parent
9cd561f1a5
commit
7ec8d7b343
@ -29,7 +29,7 @@ func (dst *Hstore) Set(src interface{}) error {
|
|||||||
}
|
}
|
||||||
*dst = Hstore{Map: m, Status: Present}
|
*dst = Hstore{Map: m, Status: Present}
|
||||||
default:
|
default:
|
||||||
return fmt.Errorf("cannot convert %v to Tid", src)
|
return fmt.Errorf("cannot convert %v to Hstore", src)
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
x
Reference in New Issue
Block a user