https://github.com/jackc/pgtype
https://github.com/jackc/pgtype
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/jackc/pgtype
- Owner: jackc
- License: mit
- Created: 2019-04-21T00:12:27.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-01-25T16:06:00.000Z (over 1 year ago)
- Last Synced: 2025-04-22T10:34:36.881Z (about 1 year ago)
- Language: Go
- Size: 996 KB
- Stars: 327
- Watchers: 7
- Forks: 111
- Open Issues: 55
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://godoc.org/github.com/jackc/pgtype)

---
This version is used with pgx `v4`. In pgx `v5` it is part of the https://github.com/jackc/pgx repository. This `v4`
version will reach end-of-life on July 1, 2025. Only security bug fixes will be made to this version.
---
# 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.