Re: Use pg_current_xact_id() instead of deprecated txid_current()

From: lin teletele <teletele(dot)lin(at)gmail(dot)com>
To: Shinya Kato <shinya11(dot)kato(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Álvaro Herrera <alvherre(at)kurilemu(dot)de>, pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Use pg_current_xact_id() instead of deprecated txid_current()
Date: 2026-06-03 01:58:40
Message-ID: CAP--GgNndnw3OXkwzfNExfkToQ4mAW21PF5OqkX5YzfFrJaYfQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jun 2, 2026 at 7:21 PM Shinya Kato <shinya11(dot)kato(at)gmail(dot)com> wrote:
>
> I didn't know that, so I've fixed in v6.

v6 looks good — OIDs are in the 8000-9999 range now, and nothing
else changed. The arithmetic and tests are unchanged from v5.

Marking this Ready for Committer. Thanks for the patch!

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-06-03 02:21:52 Re: Fix DROP PROPERTY GRAPH "unsupported object class" error
Previous Message Chao Li 2026-06-03 01:54:01 Re: Fix bug of CHECK constraint enforceability recursion