Re: In core use of RegisterXactCallback() and RegisterSubXactCallback() - Mailing list pgsql-hackers

From Amit Langote
Subject Re: In core use of RegisterXactCallback() and RegisterSubXactCallback()
Date
Msg-id CA+HiwqGgE9B2hcS+6bthkbHGGQU3zmyPt2JgqUr94o+1kr+uAA@mail.gmail.com
Whole thread
In response to Re: In core use of RegisterXactCallback() and RegisterSubXactCallback()  (Bertrand Drouvot <bertranddrouvot.pg@gmail.com>)
List pgsql-hackers
On Fri, Jun 26, 2026 at 1:11 PM Bertrand Drouvot
<bertranddrouvot.pg@gmail.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.pg@gmail.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



pgsql-hackers by date:

Previous
From: Shinya Kato
Date:
Subject: Add a statistics view to track usage of deprecated features
Next
From: Thomas Munro
Date:
Subject: Re: Heads Up: cirrus-ci is shutting down June 1st