Carlos Pérez-Aradros Herce
9f4a264f89
Fix interval encoding to allow 0s and avoid extra spaces
...
Fix a bugs introduced by 01d649b, also add some tests
2024-05-30 09:48:53 +02:00
Carlos Pérez-Aradros Herce
01d649b2bf
Do not encode interval microseconds when they are 0
...
This make the encode match what postgres does
2024-05-09 17:29:13 -05:00
Ville Skyttä
c6c50110db
Spelling and grammar fixes
2023-10-07 09:26:23 -05:00
Ville Skyttä
24ed0e4257
Make use of strings.Cut
2023-10-04 20:41:55 +03:00
Jack Christensen
f14fb3d692
Replace interface{} with any
2022-04-09 09:12:55 -05:00
Jack Christensen
d13f651810
Finish importing pgio as internal package
2022-02-21 14:35:20 -06:00
Jack Christensen
9c538cd4a9
Remove actualTarget argument
2022-02-21 09:30:01 -06:00
Jack Christensen
1f2f239d09
Renamed pgtype.ConnInfo to pgtype.Map
2022-02-21 09:13:09 -06:00
Jack Christensen
5ed95dcd1c
Expose wrap functions on ConnInfo
...
- Remove rarely used ScanPlan.Scan arguments
- Plus other refactorings and fixes that fell out of this change.
- Plus rows Scan now handles checking for changed type.
2022-01-22 17:50:19 -06:00
Jack Christensen
77e4b01553
Convert Interval to Codec
2022-01-15 18:46:28 -06:00
Jack Christensen
44214b7854
Import to pgx main repo in pgtype subdir
2021-12-04 13:07:54 -06:00