Re: In core use of RegisterXactCallback() and RegisterSubXactCallback()

From: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
To: Amit Langote <amitlangote09(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: In core use of RegisterXactCallback() and RegisterSubXactCallback()
Date: 2026-06-26 04:10:57
Message-ID: aj370Qq4j4QZcHgo@bdtpg
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Fri, Jun 26, 2026 at 08:21:50AM +0900, Amit Langote wrote:
> On Fri, Jun 26, 2026 at 12:05 AM Bertrand Drouvot
> <bertranddrouvot(dot)pg(at)gmail(dot)com> wrote:
> > Just one nit:
> >
> > + Assert for development builds and, since
> > + * the transaction is already committed by now and FK checks may have been
> > + * skipped, also warn in production builds.
> >
> > s/development builds/assert-enabled builds/? That looks more common and "
> > development builds" would be introduced by this patch.
>
> I grepped, and while the word "development" isn't rare in the tree,
> none of the uses are "development builds" as a build type.

Right.

> "assert-enabled" is the established term for that, so I've switched to
> it in v2.

Thanks! LGTM.

Regards,

--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message shveta malik 2026-06-26 04:14:42 Re: Proposal: Conflict log history table for Logical Replication
Previous Message Kirk Wolak 2026-06-26 03:51:53 Re: Global temporary tables