postgresql/src/include
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
..
access Update copyrights for 2013 2013-01-01 17:15:01 -05:00
bootstrap Update copyrights for 2013 2013-01-01 17:15:01 -05:00
catalog Update copyrights for 2013 2013-01-01 17:15:01 -05:00
commands Update copyrights for 2013 2013-01-01 17:15:01 -05:00
datatype Update copyrights for 2013 2013-01-01 17:15:01 -05:00
executor Update copyrights for 2013 2013-01-01 17:15:01 -05:00
foreign Update copyrights for 2013 2013-01-01 17:15:01 -05:00
lib Update copyrights for 2013 2013-01-01 17:15:01 -05:00
libpq Update copyrights for 2013 2013-01-01 17:15:01 -05:00
mb Update copyrights for 2013 2013-01-01 17:15:01 -05:00
nodes Update copyrights for 2013 2013-01-01 17:15:01 -05:00
optimizer Update copyrights for 2013 2013-01-01 17:15:01 -05:00
parser Update copyrights for 2013 2013-01-01 17:15:01 -05:00
port Add URLs to document why DLLIMPORT is needed on Windows. 2012-11-07 15:01:25 -05:00
portability Update copyrights for 2013 2013-01-01 17:15:01 -05:00
postmaster Fix background workers for EXEC_BACKEND 2013-01-02 12:01:14 -03:00
regex Re-implement extraction of fixed prefixes from regular expressions. 2012-07-10 14:54:37 -04:00
replication Update copyrights for 2013 2013-01-01 17:15:01 -05:00
rewrite Update copyrights for 2013 2013-01-01 17:15:01 -05:00
snowball Update copyrights for 2013 2013-01-01 17:15:01 -05:00
storage Update copyrights for 2013 2013-01-01 17:15:01 -05:00
tcop Update copyrights for 2013 2013-01-01 17:15:01 -05:00
tsearch Update copyrights for 2013 2013-01-01 17:15:01 -05:00
utils Update copyrights for 2013 2013-01-01 17:15:01 -05:00
.gitignore Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
c.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
fmgr.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
funcapi.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
getaddrinfo.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
getopt_long.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
Makefile Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
miscadmin.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_config.h.in Rename USE_INLINE to PG_USE_INLINE 2012-10-09 11:17:33 -03:00
pg_config.h.win32 Rename USE_INLINE to PG_USE_INLINE 2012-10-09 11:17:33 -03:00
pg_config_ext.h.in Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
pg_config_ext.h.win32 Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
pg_config_manual.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pg_trace.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pgstat.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
pgtime.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
port.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
postgres.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
postgres_ext.h Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
postgres_fe.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
rusagestub.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
windowapi.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00