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

From: Amit Langote <amitlangote09(at)gmail(dot)com>
To: Bertrand Drouvot <bertranddrouvot(dot)pg(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-29 01:26:33
Message-ID: CA+HiwqGgE9B2hcS+6bthkbHGGQU3zmyPt2JgqUr94o+1kr+uAA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jun 26, 2026 at 1:11 PM Bertrand Drouvot
<bertranddrouvot(dot)pg(at)gmail(dot)com> wrote:
> 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.

Thanks, pushed.

--
Thanks, Amit Langote

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2026-06-29 01:54:04 Re: Heads Up: cirrus-ci is shutting down June 1st
Previous Message Shinya Kato 2026-06-29 01:24:02 Add a statistics view to track usage of deprecated features