pgsql/src/backend/utils/init (globals.c postinit.c)

Started by Tom Laneover 25 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Date: Sunday, November 12, 2000 @ 15:51:52
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/utils/init
from hub.org:/home/projects/pgsql/tmp/cvs-serv6275/src/backend/utils/init

Modified Files:
globals.c postinit.c

----------------------------- Log Message -----------------------------

Keep track of the last active slot in the shared ProcState array, so
that search loops only have to scan that far and not through all maxBackends
entries. This eliminates a performance penalty for setting maxBackends
much higher than the average number of active backends. Also, eliminate
no-longer-used 'backend tag' concept. Remove setting of environment
variables at backend start (except for CYR_RECODE), since none of them
are being examined by the backend any longer.