Maxim Ivanov 3ce29f9e05 Add Composite type for inplace row() values handling
Composite() function returns a private type, which should
be registered with ConnInfo.RegisterDataType for the composite
type's OID.

All subsequent interaction with Composite types is to be done
via Row(...) function. Function return value can be either
passed as a query argument to build SQL composite value out of
individual fields or passed to Scan to read SQL composite value
back.

When passed to Scan, Row() should have first argument of type
*bool to flag NULL values returned from query.
2020-04-13 17:41:44 +01:00
2020-04-02 14:01:16 -05:00
2020-01-24 14:58:59 -06:00
2019-04-20 19:14:08 -05:00
2019-04-20 19:14:08 -05:00
2019-04-20 19:14:08 -05:00
2020-02-19 10:48:09 -06:00
2020-02-19 11:58:49 -06:00
2019-04-20 19:14:08 -05:00
2020-02-19 10:48:09 -06:00
2019-04-20 19:14:08 -05:00
2020-02-19 10:48:09 -06:00
2019-04-20 19:14:08 -05:00
2020-02-19 11:58:49 -06:00
2020-03-30 11:18:27 -05:00
2019-04-20 19:14:08 -05:00
2020-02-19 10:48:09 -06:00
2020-02-19 10:48:09 -06:00
2019-04-20 19:14:08 -05:00
2020-02-19 10:48:09 -06:00
2019-04-20 17:43:44 -05:00
2020-03-09 10:40:40 -05:00
2020-03-09 10:40:40 -05:00
2019-04-20 19:14:08 -05:00
2020-02-19 11:58:49 -06:00
2019-04-20 19:14:08 -05:00
2020-02-19 11:58:49 -06:00
2020-03-30 11:30:37 -05:00
2020-03-30 11:30:37 -05:00
2019-05-20 16:26:58 -05:00
2020-02-19 11:58:49 -06:00
2019-04-20 19:14:08 -05:00
2020-02-19 11:58:49 -06:00
2019-04-20 19:14:08 -05:00
2020-02-19 11:58:49 -06:00
2020-02-19 11:58:49 -06:00
2020-02-19 11:58:49 -06:00
2020-02-19 11:58:49 -06:00
2020-03-30 11:30:37 -05:00
2020-02-19 10:48:09 -06:00
2019-09-20 10:14:48 -04:00
2020-03-30 11:30:37 -05:00
2020-02-19 10:48:09 -06:00
2019-04-20 19:14:08 -05:00
2020-02-19 10:48:09 -06:00
2019-04-20 19:14:08 -05:00
2019-04-20 19:14:08 -05:00
2020-02-19 10:48:09 -06:00
2019-06-08 11:45:47 -05:00
2019-04-20 17:43:44 -05:00
2019-04-20 19:14:08 -05:00
2020-02-19 10:48:09 -06:00
2020-02-19 10:48:09 -06:00
2019-04-20 19:14:08 -05:00
2020-02-19 10:48:09 -06:00
2019-04-20 19:14:08 -05:00
2020-02-19 10:48:09 -06:00
2019-04-20 19:14:08 -05:00
2020-02-19 11:58:49 -06:00
2017-03-23 18:41:52 -05:00
2019-04-20 17:43:44 -05:00
2019-09-26 21:08:20 -05:00
2020-02-19 11:58:49 -06:00
2019-04-20 19:14:08 -05:00
2020-02-19 10:48:09 -06:00
2019-12-19 21:35:35 -06:00
2020-02-19 11:58:49 -06:00
2019-04-20 19:14:08 -05:00
2017-04-03 07:35:19 -05:00
2020-02-19 10:48:09 -06:00
2020-02-19 11:58:49 -06:00
2019-04-20 19:14:08 -05:00
2020-02-19 10:48:09 -06:00
2020-02-19 10:48:09 -06:00
2019-04-20 19:14:08 -05:00
2020-02-19 10:48:09 -06:00

pgtype

pgtype implements Go types for over 70 PostgreSQL types. pgtype is the type system underlying the https://github.com/jackc/pgx PostgreSQL driver. These types support the binary format for enhanced performance with pgx. They also support the database/sql Scan and Value interfaces and can be used with https://github.com/lib/pq.

Description
PostgreSQL driver and toolkit for Go
Readme MIT 7.4 MiB
Languages
Go 98.6%
HTML 1.2%
Shell 0.2%