pgsql: Make smart shutdown work in combination with Hot

From: rhaas(at)postgresql(dot)org (Robert Haas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make smart shutdown work in combination with Hot
Date: 2010-04-08 01:39:37
Message-ID: 20100408013937.D62467541D0@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Make smart shutdown work in combination with Hot Standby/Streaming Replication.

At present, killing the startup process does not release any locks it holds,
so we must wait to stop the startup and walreceiver processes until all
read-only backends have exited. Without this patch, the startup and
walreceiver processes never exit, so the server gets permanently stuck in
a half-shutdown state.

Fujii Masao, with review, docs, and comment adjustments by me.

Modified Files:
--------------
pgsql/doc/src/sgml:
runtime.sgml (r1.433 -> r1.434)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/runtime.sgml?r1=1.433&r2=1.434)
pgsql/doc/src/sgml/ref:
pg_ctl-ref.sgml (r1.49 -> r1.50)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml?r1=1.49&r2=1.50)
pgsql/src/backend/postmaster:
postmaster.c (r1.604 -> r1.605)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c?r1=1.604&r2=1.605)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2010-04-08 02:15:23 Re: [COMMITTERS] pgsql: Forbid using pg_xlogfile_name() and pg_xlogfile_name_offset()
Previous Message Tom Lane 2010-04-07 21:41:53 pgsql: Fix to_char YYY, YY, Y format codes so that FM zero-suppression