Commit Graph

14 Commits (288080c58c5aa31ad978e8a5840a25c28c02526a)

Author SHA1 Message Date
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 eb0a4c9626 Replace some old database/sql compatibility 2022-01-22 11:21:12 -06:00
Jack Christensen 740263c0d4 Convert UUID to Codec 2022-01-22 10:53:47 -06:00
Jack Christensen b9b5e35d0f Convert numeric to Codec 2022-01-22 09:31:59 -06:00
Jack Christensen 61b4fb7689 Convert time to Codec 2022-01-21 16:50:30 -06:00
Jack Christensen b10eb89fe4 Use wrapper to treat fmt.String as pgtype.TextValuer 2022-01-20 20:22:53 -06:00
Jack Christensen 97443487ce Convert macaddr to Codec 2022-01-20 20:07:09 -06:00
Jack Christensen 99fb8cf2f3 Convert timestamp and timestamptz to Codec 2022-01-18 21:49:38 -06:00
Jack Christensen 77e4b01553 Convert Interval to Codec 2022-01-15 18:46:28 -06:00
Jack Christensen a6863a7dd2 Convert Hstore to Codec 2022-01-15 17:47:37 -06:00
Jack Christensen 05598d4ca6 Convert inet and cidr to codec 2022-01-15 09:48:21 -06:00
Jack Christensen b57e0c419b Convert Date to Codec 2022-01-10 21:02:20 -06:00
Jack Christensen b26618ac95 Prevent try underlying type from acting on a value
This is necessary to prevent infinite recursion where a base type is
wrapped and then unwrapped.
2022-01-09 00:25:20 -06:00
Jack Christensen ad79dccd99 Builtin types are automatically wrapped if necessary 2022-01-08 23:44:53 -06:00