Re: Cleaning up threading code - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Cleaning up threading code
Date
Msg-id 20230711224953.abfpupu3lrrgyiqw@awork3.anarazel.de
Whole thread Raw
In response to Re: Cleaning up threading code  (Thomas Munro <thomas.munro@gmail.com>)
Responses Re: Cleaning up threading code
List pgsql-hackers
On 2023-07-12 08:58:29 +1200, Thomas Munro wrote:
> On Mon, Jul 10, 2023 at 10:45 AM Thomas Munro <thomas.munro@gmail.com> wrote:
> > * defined ENABLE_THREAD_SAFETY 1 in c.h, for the benefit of extensions
> 
> I may lack imagination but I couldn't think of any use for that
> vestigial macro in backend/extension code, and client code doesn't see
> c.h and might not get the right answer anyway if it's dynamically
> linked which is the usual case.  I took it out for now.  Open to
> discussing further if someone can show what kinds of realistic
> external code would be affected.

WFM.



pgsql-hackers by date:

Previous
From: Ranier Vilela
Date:
Subject: Re: Avoid unused value (src/fe_utils/print.c)
Next
From: Michael Paquier
Date:
Subject: Re: Support to define custom wait events for extensions