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)
commita7caee9f79b13c034f6aadf25b874767cae1c221
treeb3590f034c0f4748e52603d4777fb3a1a3804da5
parent341a4d3b830e403b0d6644c91d6c125de0b3b149
Remove postc'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