Skip to content

What is the recommended way to map from XID8 datatype? #2137

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

You must be logged in to vote

At the moment there is no support for xid8. You would have to scan it to a string and parse it yourself or cast it to a bigint in PostgreSQL.

However, I just made a PR to add support for unsigned 64 bit integers like xid8. #2142. It's basically just find and replace of the existing uint32 code. See if that works for you.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@podjay
Comment options

Answer selected by podjay
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