Re: Weird failure with latches in curculio on v15 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Weird failure with latches in curculio on v15
Date
Msg-id 1449633.1675305284@sss.pgh.pa.us
Whole thread Raw
In response to Re: Weird failure with latches in curculio on v15  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Weird failure with latches in curculio on v15
List pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes:
> Hmm.  Isn't that something that we should also document in startup.c
> where both routines are defined?  If we begin to use
> PreRestoreCommand() and PostRestoreCommand() in more code paths in the
> future, that could be again an issue.

I was vaguely wondering about removing both of those functions
in favor of an integrated function that does a system() call
with those things before and after it.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Worth using personality(ADDR_NO_RANDOMIZE) for EXEC_BACKEND on linux?
Next
From: vignesh C
Date:
Subject: Re: [PATCH] New [relation] option engine