mirror of
https://github.com/jackc/pgx.git
synced 2025-07-07 19:19:37 +00:00
When nil IP is returned from net.ParseIP, it is accepted into Inet type, but not properly marked as being Null. That introduces issues later on when calling for example EncodeBinary, since it does not assume this can happen. This commit resolves that by properly detecting zero-length net.IP and setting status to Null if that is the case.
…
…
…
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.
Languages
Go
98.6%
HTML
1.2%
Shell
0.2%