Commit Graph

14 Commits (5db1de5fc18703ddf645024dff9ff73c98bc9107)

Author SHA1 Message Date
Adrian Sieger b72f8084b5 implement nullable values for hstore maps 2021-10-30 08:38:48 -05:00
Jack Christensen 6bda09691d Fix hstore binary null decoding
Bug was advancing the read pointer by the length of the value even if it
was a NULL value. Since NULL is indicated by a -1 length it actually
decremented the read pointer.
2021-07-31 11:06:03 -05:00
Jack Christensen c16a4f7d6a Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx"
This reverts commit 32e20a6031.
2021-07-24 10:40:30 -05:00
Jack Christensen 32e20a6031 Temporarily delete tests and pgxtype to break recursive dependency with pgx 2021-07-24 10:16:00 -05:00
Jack Christensen 36944b232f Fix hstore with empty string values 2020-06-06 10:26:34 -05:00
Jack Christensen 3294a8cf1f Allow empty hstore keys
See pgx commit: 56f4f0b9d3
2019-05-20 16:26:58 -05:00
Jack Christensen 4ed0de4755 Splitting pgtype into own repo 2019-04-20 19:14:08 -05:00
Jack Christensen 8502a12ac7 Fix go modules
Wow. This is fun. Sure is easy to get modules wrong when upgrading a v2+
project.
2019-04-20 17:41:08 -05:00
ferhat elmas 645e646183 Run gofmt with simplify flag 2017-12-21 23:45:26 +01:00
Jack Christensen fe36df4fff Uncomment Hstore tests 2017-05-20 08:34:20 -05:00
Jack Christensen 6b906ca870 Refactor pgio and types to append buffers 2017-05-02 20:38:26 -05:00
Jack Christensen d94f8daeb1 Use pointer methods for all struct pgtypes
Now no need to no whether certain interfaces are implemented by struct or
pointer to struct.
2017-04-14 13:08:05 -05:00
Jack Christensen e380de7cd1 Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
Jack Christensen f9e5879072 Move hstore to pgtype
Also implement binary format
2017-03-12 17:06:06 -05:00