aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/commit_ts.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2015-11-12 09:00:33 -0500
committerRobert Haas <rhaas@postgresql.org>2015-11-12 09:00:33 -0500
commitac1d7945f866b1928c2554c0f80fd52d7f977772 (patch)
tree7988b7964e59c7fe685d2da3de12ef87d25fc23c /src/backend/access/transam/commit_ts.c
parenta05dc4d7fd57d4ae084c1f0801973e5c1a1aa26e (diff)
downloadpostgresql-ac1d7945f866b1928c2554c0f80fd52d7f977772.tar.gz
postgresql-ac1d7945f866b1928c2554c0f80fd52d7f977772.zip
Make idle backends exit if the postmaster dies.
Letting backends continue to run if the postmaster has exited prevents PostgreSQL from being restarted, which in many environments is catastrophic. Worse, if some other backend crashes, we no longer have any protection against shared memory corruption. So, arrange for them to exit instead. We don't want to expend many cycles on this, but including postmaster death in the set of things that we wait for when a backend is idle seems cheap enough. Rajeev Rastogi and Robert Haas
Diffstat (limited to 'src/backend/access/transam/commit_ts.c')
0 files changed, 0 insertions, 0 deletions