Jack Christensen
|
4380e23ae1
|
CompositeTextScanner handles backslash escapes
fixes https://github.com/jackc/pgx/issues/874
|
2021-04-24 08:08:34 -05:00 |
|
Jack Christensen
|
dd160540c4
|
Use Go 1.13 errors instead of xerrors
|
2021-03-25 09:08:27 -04:00 |
|
Yaz Saito
|
b939bc8d68
|
Fix encoding of a large composite data type
If encoding a field caused a buffer reallocation, the its length would be
written to a wrong place.
|
2020-07-21 23:52:20 -07:00 |
|
Jack Christensen
|
43e4070cb4
|
Better CompositeType and ArrayType Get implementation
|
2020-06-05 13:40:03 -05:00 |
|
Jack Christensen
|
ee0e207ee4
|
CompositeType fields contain name and oid
|
2020-05-13 07:09:52 -05:00 |
|
Jack Christensen
|
b3e1355a46
|
CompositeType can assign to struct via reflection
|
2020-05-12 16:58:16 -05:00 |
|
Jack Christensen
|
506ea36835
|
Do not export quoteCompositeFieldIfNeeded
|
2020-05-12 15:47:44 -05:00 |
|
Jack Christensen
|
eebc6975de
|
Add EncodeText support for CompositeType
|
2020-05-12 15:45:16 -05:00 |
|
Jack Christensen
|
e45ef46424
|
Refactor and add CompositeTextBuilder
|
2020-05-12 15:42:26 -05:00 |
|
Jack Christensen
|
fcb385dccb
|
Add ScanDecoder and ScanValue to composite scanners.
Rename Scan to Next to disambiguate.
|
2020-05-12 15:04:14 -05:00 |
|
Jack Christensen
|
e51cb1ef09
|
Add CompositeBinaryBuilder
|
2020-05-12 14:04:11 -05:00 |
|
Jack Christensen
|
2186634638
|
Add CompositeFields encoders
|
2020-05-12 11:55:24 -05:00 |
|
Jack Christensen
|
9cdd928cb8
|
CompositeType implements TypeValue
|
2020-05-12 10:40:13 -05:00 |
|
Jack Christensen
|
bff2829b0f
|
Move ComposteType.Scan functionality into AssignTo
Also remove adapter functions that are no longer used.
|
2020-05-12 10:19:41 -05:00 |
|
Jack Christensen
|
247043b597
|
Merge SetFields functionality into Set
|
2020-05-12 08:35:45 -05:00 |
|
Jack Christensen
|
c41160bcbb
|
Make CompositeType status private
|
2020-05-12 08:01:10 -05:00 |
|
Jack Christensen
|
4a6bd41a36
|
Rename Composite to CompositeType.
This harmonizes the naming with EnumType and ArrayType.
|
2020-05-12 07:58:10 -05:00 |
|