Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pgtype/hstore_test.go: Add coverage for text protocol
The existing test registers pgtype.Hstore in the text map, then uses the query modes that use the binary protocol. The existing test did not use the text parsing code. Add a version of the test that uses pgtype.Hstore as the input and output argument in all query modes, and tests it without registering the codec.
- Loading branch information