Skip to content

v5 pgtype.Numeric to math/big.Rat #1450

Answered by jackc
cramey asked this question in Q&A
Discussion options

You must be logged in to vote

Not at the moment. It looks like that was added after v5 branched was branched and it was never ported. But in v5 the type system is more flexible so big.Rat can be supported without core support in the same way shopspring.Decimal is (e.g. https://github.com/jackc/pgx-shopspring-decimal).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cramey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants