1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-29 10:41:53 +03:00

Fix IsUnderPostmaster/EXEC_BACKEND confusion

This commit is contained in:
Alvaro Herrera
2013-01-02 18:39:20 -03:00
parent 15658911d9
commit 84f6fb81b8
3 changed files with 10 additions and 3 deletions

View File

@ -3654,10 +3654,8 @@ PostgresMain(int argc, char *argv[], const char *username)
*/
CreateDataDirLockFile(false);
/* In EXEC_BACKEND, this was set via BackendParameters */
#ifndef EXEC_BACKEND
/* Initialize MaxBackends (if under postmaster, was done already) */
InitializeMaxBackends();
#endif
}
/* Early initialization */