mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-07 13:59:28 +02:00
are now critical sections, so as to ensure die() won't interrupt us while we are munging shared-memory data structures. Avoid insecure intermediate states in some code that proc_exit will call, like palloc/pfree. Rename START/END_CRIT_CODE to START/END_CRIT_SECTION, since that seems to be what people tend to call them anyway, and make them be called with () like a function call, in hopes of not confusing pg_indent. I doubt that this is sufficient to make SIGTERM safe anywhere; there's just too much code that could get invoked during proc_exit(). |
||
---|---|---|
.. | ||
access | ||
bootstrap | ||
catalog | ||
commands | ||
executor | ||
lib | ||
libpq | ||
mb | ||
nodes | ||
optimizer | ||
parser | ||
port | ||
regex | ||
rewrite | ||
storage | ||
tcop | ||
utils | ||
c.h | ||
config.h.in | ||
config.h.win32 | ||
fmgr.h | ||
Makefile | ||
miscadmin.h | ||
postgres_ext.h | ||
postgres.h | ||
rusagestub.h | ||
strdup.h |