aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonfuncs.c
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2013-08-08 02:48:53 +0900
committerFujii Masao <fujii@postgresql.org>2013-08-08 02:48:53 +0900
commit91c3613d3748d881706c3e60d8221ea92833ac1a (patch)
tree2e2881180ef759bbc5b319be15423dca59c8ec5e /src/backend/utils/adt/jsonfuncs.c
parentf347f26807862522309a2b15e332518df3e5e6f0 (diff)
downloadpostgresql-91c3613d3748d881706c3e60d8221ea92833ac1a.tar.gz
postgresql-91c3613d3748d881706c3e60d8221ea92833ac1a.zip
Fix assertion failure by an immediate shutdown.
In PM_WAIT_DEAD_END state, checkpointer process must be dead already. But an immediate shutdown could make postmaster's state machine transition to PM_WAIT_DEAD_END state even if checkpointer process is still running, and which caused assertion failure. This bug was introduced in commit 457d6cf049c57cabe9b46ea13f26138040a214ec. This patch ensures that postmaster's state machine doesn't transition to PM_WAIT_DEAD_END state in an immediate shutdown while checkpointer process is running.
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions