Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group