Skip site navigation (1) Skip section navigation (2)

pgsql/src backend/postmaster/postmaster.c back ...

From: Tom Lane <tgl(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src backend/postmaster/postmaster.c back ...
Date: 2001-06-16 22:58:18
Message-ID: 200106162258.f5GMwHB38212@hub.org (view raw or flat)
Thread:
Lists: pgsql-committers
CVSROOT:	/home/projects/pgsql/cvsroot
Module name:	pgsql
Changes by:	tgl(at)hub(dot)org	01/06/16 18:58:17

Modified files:
	src/backend/postmaster: postmaster.c 
	src/backend/storage/ipc: sinval.c sinvaladt.c 
	src/backend/storage/lmgr: proc.c 
	src/backend/utils/init: postinit.c 
	src/include/storage: proc.h 

Log message:
	Tweak startup sequence so that running out of PROC array slots is
	detected sooner in backend startup, and is treated as an expected error
	(it gives 'Sorry, too many clients already' now).  This allows us not
	to have to enforce the MaxBackends limit exactly in the postmaster.
	Also, remove ProcRemove() and fold its functionality into ProcKill().
	There's no good reason for a backend not to be responsible for removing
	its PROC entry, and there are lots of good reasons for the postmaster
	not to be touching shared-memory data structures.


pgsql-committers by date

Next:From: Tom LaneDate: 2001-06-17 02:05:20
Subject: pgsql/src backend/optimizer/path/indxpath.c ba ...
Previous:From: Tom LaneDate: 2001-06-16 18:59:32
Subject: pgsql/src include/catalog/catversion.h include ...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group