I get an error > "pq: number of pairs (576791101) exceeds the maximum allowed (26843545)" while executing a query by db.Exec. The cause is that there is a []byte conversion in [Hstore.Value](https://github.com/lib/pq/blob/master/hstore/hstore.go#L117). Without it a query executed as expected. Code example: ``` hs := hstore.Hstore{map[string]sql.NullString{"a": {"b", true}}} db.Exec(`SELECT $1::hstore`, hs) ```
Activity
henriquechehad commentedon Jun 30, 2020
ip75 commentedon Nov 2, 2021
Check for BinaryValue to allow types to use a different binary encoding
Check for BinaryValue to allow types to use a different binary encoding
Check for BinaryValue to allow types to use a different binary encoding