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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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.

Browse pgsql-committers by date

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