Re: Simplifying our Trap/Assert infrastructure - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Simplifying our Trap/Assert infrastructure
Date
Msg-id Y18RCGE+Lyl07HyN@paquier.xyz
Whole thread Raw
In response to Re: Simplifying our Trap/Assert infrastructure  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Responses Re: Simplifying our Trap/Assert infrastructure  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
List pgsql-hackers
On Fri, Oct 28, 2022 at 09:36:23AM +0200, Peter Eisentraut wrote:
> Would there be a use for that?  It's currently only used in the atomics
> code.

Yep, but they would not trigger when using atomics in the frontend
code.  We don't have any use for that in core on HEAD, still that
could be useful for some external frontend code?  Please see the
attached.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Use pg_pwritev_with_retry() instead of write() in dir_open_for_write() to avoid partial writes?
Next
From: Peter Smith
Date:
Subject: Re: GUC values - recommended way to declare the C variables?