mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-07 13:19:21 +02:00
In 9.3, there's no particular limit on the number of bgworkers; instead, we just count up the number that are actually registered, and use that to set MaxBackends. However, that approach causes problems for Hot Standby, which needs both MaxBackends and the size of the lock table to be the same on the standby as on the master, yet it may not be desirable to run the same bgworkers in both places. 9.3 handles that by failing to notice the problem, which will probably work fine in nearly all cases anyway, but is not theoretically sound. A further problem with simply counting the number of registered workers is that new workers can't be registered without a postmaster restart. This is inconvenient for administrators, since bouncing the postmaster causes an interruption of service. Moreover, there are a number of applications for background processes where, by necessity, the background process must be started on the fly (e.g. parallel query). While this patch doesn't actually make it possible to register new background workers after startup time, it's a necessary prerequisite. Patch by me. Review by Michael Paquier. |
||
---|---|---|
.. | ||
attnum.h | ||
clog.h | ||
genam.h | ||
gin_private.h | ||
gin.h | ||
gist_private.h | ||
gist.h | ||
gistscan.h | ||
hash.h | ||
heapam_xlog.h | ||
heapam.h | ||
hio.h | ||
htup_details.h | ||
htup.h | ||
itup.h | ||
multixact.h | ||
nbtree.h | ||
printtup.h | ||
reloptions.h | ||
relscan.h | ||
rewriteheap.h | ||
rmgr.h | ||
rmgrlist.h | ||
sdir.h | ||
skey.h | ||
slru.h | ||
spgist_private.h | ||
spgist.h | ||
subtrans.h | ||
sysattr.h | ||
timeline.h | ||
transam.h | ||
tupconvert.h | ||
tupdesc.h | ||
tupmacs.h | ||
tuptoaster.h | ||
twophase_rmgr.h | ||
twophase.h | ||
valid.h | ||
visibilitymap.h | ||
xact.h | ||
xlog_fn.h | ||
xlog_internal.h | ||
xlog.h | ||
xlogdefs.h | ||
xlogreader.h | ||
xlogutils.h |