Jack Christensen
989a4835de
Remove rune to text conversion
...
Because rune is an alias for int32 this caused some very surprising
results. e.g. inserting int32(65) into text would insert "A" instead of
"65".
2022-05-12 17:13:49 -05:00
Jack Christensen
ee93440ac1
pgtype uses pgxtest
...
Added ValueRoundTripTest to pgxtest
Removed pgtype/testutil
pgtype tests now run with all (applicable) query modes. This gives
better coverage than before and revealed several bugs which are also
fixed in this commit.
2022-04-02 14:34:19 -05:00
Jack Christensen
e04b35bfcb
Make pgtype test compat with CockroachDB when possible
2022-03-22 20:33:24 -05:00
Jack Christensen
3a90c6c879
Removed TextEncoder and BinaryEncoder
...
Restructured / fixed a lot of tests along the way.
2022-01-22 12:07:35 -06:00
Jack Christensen
b10eb89fe4
Use wrapper to treat fmt.String as pgtype.TextValuer
2022-01-20 20:22:53 -06:00
Jack Christensen
1eee7987e1
Use TextCodec for aclitem type
2022-01-08 16:24:05 -06:00
Jack Christensen
fcc9dcc960
Convert text to Codec
...
This also entailed updating and deleting types that depended on Text.
2022-01-08 13:13:26 -06:00
Jack Christensen
72cc95e4dd
Bump module version to v5
2021-12-11 13:29:03 -06:00
Jack Christensen
7e13db4538
Finish import of pgtype repo
...
Fix some tests that broke by merging repos
Tweak readme wording
2021-12-04 13:45:57 -06:00
Jack Christensen
44214b7854
Import to pgx main repo in pgtype subdir
2021-12-04 13:07:54 -06:00