mirror of
https://github.com/postgres/postgres.git
synced 2025-07-11 10:01:57 +03:00
Initial pgindent and pgperltidy run for v13.
Includes some manual cleanup of places that pgindent messed up,
most of which weren't per project style anyway.
Notably, it seems some people didn't absorb the style rules of
commit c9d297751
, because there were a bunch of new occurrences
of function calls with a newline just after the left paren, all
with faulty expectations about how the rest of the call would get
indented.
This commit is contained in:
@ -540,29 +540,29 @@ HandleCheckpointerInterrupts(void)
|
||||
ProcessConfigFile(PGC_SIGHUP);
|
||||
|
||||
/*
|
||||
* Checkpointer is the last process to shut down, so we ask it to
|
||||
* hold the keys for a range of other tasks required most of which
|
||||
* have nothing to do with checkpointing at all.
|
||||
* Checkpointer is the last process to shut down, so we ask it to hold
|
||||
* the keys for a range of other tasks required most of which have
|
||||
* nothing to do with checkpointing at all.
|
||||
*
|
||||
* For various reasons, some config values can change dynamically
|
||||
* so the primary copy of them is held in shared memory to make
|
||||
* sure all backends see the same value. We make Checkpointer
|
||||
* responsible for updating the shared memory copy if the
|
||||
* parameter setting changes because of SIGHUP.
|
||||
* For various reasons, some config values can change dynamically so
|
||||
* the primary copy of them is held in shared memory to make sure all
|
||||
* backends see the same value. We make Checkpointer responsible for
|
||||
* updating the shared memory copy if the parameter setting changes
|
||||
* because of SIGHUP.
|
||||
*/
|
||||
UpdateSharedMemoryConfig();
|
||||
}
|
||||
if (ShutdownRequestPending)
|
||||
{
|
||||
/*
|
||||
* From here on, elog(ERROR) should end with exit(1), not send
|
||||
* control back to the sigsetjmp block above
|
||||
* From here on, elog(ERROR) should end with exit(1), not send control
|
||||
* back to the sigsetjmp block above
|
||||
*/
|
||||
ExitOnAnyError = true;
|
||||
/* Close down the database */
|
||||
ShutdownXLOG(0, 0);
|
||||
/* Normal exit from the checkpointer is here */
|
||||
proc_exit(0); /* done */
|
||||
proc_exit(0); /* done */
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user