-
As I understood type mappings can be registered with pgtype.Map.RegisterDefaultPgType. |
Beta Was this translation helpful? Give feedback.
Answered by
jackc
Mar 2, 2023
Replies: 1 comment 1 reply
-
You can do type registration in an |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
stasvo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can do type registration in an
AfterConnect
hook with pgxpool. See https://pkg.go.dev/github.com/jackc/pgx/[email protected]/pgxpool#Config.