jackc / pgtype

MIT License
318 stars 112 forks source link

Add pguint64 and xid8 types #220

Closed julesjcraske closed 1 month ago

julesjcraske commented 1 month ago

I took a small extract from the postgres docs to attempt document the type.

This is needed to allow watermill-sql to use the xid8 type when using pgx as the database adapter when implementing the outbox pattern.

jackc commented 1 month ago

Sorry, pgtype for pgx v4 is only accepting bug fixes at this point. From the README.md:

This version is used with pgx v4. In pgx v5 it is part of the https://github.com/jackc/pgx repository. Only bug fixes will be made to this version. New features will only be considered for the current release.

The v4 type system is extendable though, so you should be able to bundle this type with your own code.