mirror of
https://github.com/postgres/postgres.git
synced 2025-11-19 13:42:17 +03:00
Pre-beta mechanical code beautification.
Run pgindent, pgperltidy, and reformat-dat-files. I manually fixed a couple of comments that pgindent uglified.
This commit is contained in:
@@ -208,10 +208,11 @@ SInvalShmemSize(void)
|
||||
|
||||
/*
|
||||
* In Hot Standby mode, the startup process requests a procState array
|
||||
* slot using InitRecoveryTransactionEnvironment(). Even though MaxBackends
|
||||
* doesn't account for the startup process, it is guaranteed to get a
|
||||
* free slot. This is because the autovacuum launcher and worker processes,
|
||||
* which are included in MaxBackends, are not started in Hot Standby mode.
|
||||
* slot using InitRecoveryTransactionEnvironment(). Even though
|
||||
* MaxBackends doesn't account for the startup process, it is guaranteed
|
||||
* to get a free slot. This is because the autovacuum launcher and worker
|
||||
* processes, which are included in MaxBackends, are not started in Hot
|
||||
* Standby mode.
|
||||
*/
|
||||
size = add_size(size, mul_size(sizeof(ProcState), MaxBackends));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user