pqtype implements Go types for PostgreSQL types when using the lib/pq driver.
pqtype is tested against PostgreSQL 9.6 through 13 and Go 1.13 through 1.17. While these types may work with other drivers, they are only tested against the lib/pq driver.
pqtype is a fork of jackc/pgtype with all
the pgx-specific code removed. The Status
field on types has been replaced
with a Valid
boolean to mirror the standard library sql.Null*
types.