]> granicus.if.org Git - postgresql/commit
Remove postmaster.c's check that NBuffers is at least twice MaxBackends.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 9 Mar 2008 04:56:28 +0000 (04:56 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 9 Mar 2008 04:56:28 +0000 (04:56 +0000)
commitd9384a4b7334ba755db88160fb96cd33725bd6d3
tree39ba262dedbc468fae91633f8565d09462a6423b
parentf4230d29377556a350866f17ebb2e16ac907fa50
Remove postmaster.c's check that NBuffers is at least twice MaxBackends.
With the addition of multiple autovacuum workers, our choices were to delete
the check, document the interaction with autovacuum_max_workers, or complicate
the check to try to hide that interaction.  Since this restriction has never
been adequate to ensure backends can't run out of pinnable buffers, it doesn't
really have enough excuse to live to justify the second or third choices.
Per discussion of a complaint from Andreas Kling (see also bug #3888).

This commit also removes several documentation references to this restriction,
but I'm not sure I got them all.
doc/src/sgml/config.sgml
src/backend/postmaster/postmaster.c
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample