Re: Use pg_current_xact_id() instead of deprecated txid_current() - Mailing list pgsql-hackers

From Shinya Kato
Subject Re: Use pg_current_xact_id() instead of deprecated txid_current()
Date
Msg-id CAOzEurQLeN198bfnaHxUqdS6O5F-ce4jXhoscV313D9niM89GA@mail.gmail.com
Whole thread
In response to Re: Use pg_current_xact_id() instead of deprecated txid_current()  (lin teletele <teletele.lin@gmail.com>)
Responses Re: Use pg_current_xact_id() instead of deprecated txid_current()
List pgsql-hackers
On Tue, Jun 2, 2026 at 4:14 PM lin teletele <teletele.lin@gmail.com> wrote:
>
> Hi Shinya,
>
> Thanks for the updated v5. Looked at v5 — the arithmetic is correct,
> and the tests cover the edges.

Thanks for the review!

> One nit: in-development patches usually pick OIDs in the 8000-9999
> range per bki.sgml, but it's not a big deal — the committer renumbers
> OIDs anyway.

I didn't know that, so I've fixed in v6.



--
Best regards,
Shinya Kato
NTT OSS Center

Attachment

pgsql-hackers by date:

Previous
From: Andy Fan
Date:
Subject: Re: Make printtup a bit faster
Next
From: Thomas Munro
Date:
Subject: Re: Heads Up: cirrus-ci is shutting down June 1st