postgresql/src
Alvaro Herrera cdbc0ca48c Fix background workers for EXEC_BACKEND
Commit da07a1e8 was broken for EXEC_BACKEND because I failed to realize
that the MaxBackends recomputation needed to be duplicated by
subprocesses in SubPostmasterMain.  However, instead of having the value
be recomputed at all, it's better to assign the correct value at
postmaster initialization time, and have it be propagated to exec'ed
backends via BackendParameters.

MaxBackends stays as zero until after modules in
shared_preload_libraries have had a chance to register bgworkers, since
the value is going to be untrustworthy till that's finished.

Heikki Linnakangas and Álvaro Herrera
2013-01-02 12:01:14 -03:00
..
backend Fix background workers for EXEC_BACKEND 2013-01-02 12:01:14 -03:00
bin Update copyrights for 2013 2013-01-01 17:15:01 -05:00
include Fix background workers for EXEC_BACKEND 2013-01-02 12:01:14 -03:00
interfaces Update copyrights for 2013 2013-01-01 17:15:01 -05:00
makefiles Remove allow_nonpic_in_shlib 2012-12-18 01:13:59 -05:00
pl Update copyrights for 2013 2013-01-01 17:15:01 -05:00
port Update copyrights for 2013 2013-01-01 17:15:01 -05:00
template Remove _FORTIFY_SOURCE 2012-10-10 21:42:38 -04:00
test Update copyrights for 2013 2013-01-01 17:15:01 -05:00
timezone Update copyrights for 2013 2013-01-01 17:15:01 -05:00
tools Update copyrights for 2013 2013-01-01 17:15:01 -05:00
tutorial Update copyrights for 2013 2013-01-01 17:15:01 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Fix some oversights in distprep and maintainer-clean targets. 2011-03-10 00:04:05 -05:00
Makefile.global.in Add mode where contrib installcheck runs each module in a separately named database. 2012-12-11 11:52:45 -05:00
Makefile.shlib Remove configure flag --disable-shared, as it is no longer used by any 2012-08-30 16:26:53 -04:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
nls-global.mk NLS: Use msgmerge --previous option 2012-12-13 23:12:12 -05:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00