-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support xid8 type #558
Comments
A PR is welcome, if we can handle it in OID that鈥檚 fine by me, but it may require a new type indeed or reusing another one if 64 bits. For the PG 13 tests, you can see the existing test helpers for examples! |
maltoe
added a commit
to maltoe/postgrex
that referenced
this issue
Jul 11, 2021
Fixes [[elixir-ecto#558]](elixir-ecto#558) This patch adds support for the `xid8` type introduced in PostgreSQL 13.
maltoe
added a commit
to maltoe/postgrex
that referenced
this issue
Jul 11, 2021
Fixes [[elixir-ecto#558]](elixir-ecto#558) This patch adds support for the `xid8` type introduced in PostgreSQL 13.
maltoe
added a commit
to maltoe/postgrex
that referenced
this issue
Jul 11, 2021
Fixes [elixir-ecto#558](elixir-ecto#558) This patch adds support for the `xid8` type introduced in PostgreSQL 13.
maltoe
added a commit
to maltoe/postgrex
that referenced
this issue
Jul 11, 2021
Fixes [elixir-ecto#558](elixir-ecto#558) This patch adds support for the `xid8` type introduced in PostgreSQL 13.
josevalim
pushed a commit
that referenced
this issue
Jul 11, 2021
josevalim
pushed a commit
that referenced
this issue
Sep 26, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello postgrex devs 馃憢
PostgreSQL 13 introduced a new
xid8
type and for its new 64-bit long transaction IDs (basically to ensure uniqueness over the lifespan of the DB). We'd like to be able to query these using Postgrex.Actual Behaviour
Side-note: Postgres doesn't have a int8->xid8 cast function, hence the quotes above.
Desired behaviour
Like
xid
:Solution
We currently run a custom extension:
I'm happy to come up with a PR if this is something you're interested in and if you could point me in the right direction with regards to:
xid
is in fact cast byPostgrex.Extensions.OID
- should this also play a role forxid8
?Thanks for considering! And thanks for all the work on the library!
Best,
malte
The text was updated successfully, but these errors were encountered: