pg.conf re-reading in signal handler or at next return to main loop? - Mailing list pgsql-hackers

From Markus Bertheau
Subject pg.conf re-reading in signal handler or at next return to main loop?
Date
Msg-id 684362e10603051214w7d98a575u@mail.gmail.com
Whole thread Raw
Responses Re: pg.conf re-reading in signal handler or at next return to main loop?
List pgsql-hackers
Hi,

src/backend/utils/misc/README says

"
If SIGHUP is received, the GUC code rereads the postgresql.conf
configuration file (this does not happen in the signal handler, but at
next return to main loop; note that it can be executed while within a
transaction).
"

SIGHUP_handler() calls ProcessConfigFile() which calls
ParseConfigFile() which reads postgresql.conf.

For me that means that postgresql.conf in read in the signal handler,
which contradicts the claim in the README. Where's my error?

Markus Bertheau


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Remove vestigial UNION JOIN support?
Next
From: Tom Lane
Date:
Subject: Re: problem with large maintenance_work_mem settings and