mirror of
https://github.com/postgres/postgres.git
synced 2025-11-21 00:42:43 +03:00
Revert the addition of GetMaxBackends() and related stuff.
This reverts commits0147fc7,4567596,aa64f23, and5ecd018. There is no longer agreement that introducing this function was the right way to address the problem. The consensus now seems to favor trying to make a correct value for MaxBackends available to mdules executing their _PG_init() functions. Nathan Bossart Discussion: http://postgr.es/m/20220323045229.i23skfscdbvrsuxa@jrouhaud
This commit is contained in:
@@ -116,7 +116,7 @@ AuxiliaryProcessMain(AuxProcType auxtype)
|
||||
* This will need rethinking if we ever want more than one of a particular
|
||||
* auxiliary process type.
|
||||
*/
|
||||
ProcSignalInit(GetMaxBackends() + MyAuxProcType + 1);
|
||||
ProcSignalInit(MaxBackends + MyAuxProcType + 1);
|
||||
|
||||
/*
|
||||
* Auxiliary processes don't run transactions, but they may need a
|
||||
|
||||
Reference in New Issue
Block a user