5 Commits

Author SHA1 Message Date
Jack Christensen
bec9bd261b Add database/sql support to pgtype 2017-03-18 21:11:43 -05:00
Jack Christensen
4d9c44fc01 Factor out duplication in AssignTo 2017-03-18 16:54:08 -05:00
Jack Christensen
19c6689752 Add pgtype.Record and prerequisite restructuring
Because reading a record type requires the decoder to be able to look up oid
to type mapping and types such as hstore have types that are not fixed between
different PostgreSQL servers it was necessary to restructure the pgtype system
so all encoders and decodes take a *ConnInfo that includes oid/name/type
information.
2017-03-18 12:01:16 -05:00
Jack Christensen
7ec8d7b343 Fix error message for hstore 2017-03-13 20:23:17 -05:00
Jack Christensen
7bb1f3677d Move hstore to pgtype
Also implement binary format
2017-03-12 17:06:06 -05:00