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

pgsql: Re-enable max_standby_delay = -1 using deadlock detection on

From: sriggs(at)postgresql(dot)org (Simon Riggs)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Re-enable max_standby_delay = -1 using deadlock detection on
Date: 2010-02-13 01:32:20
Message-ID: 20100213013220.902347541C5@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Re-enable max_standby_delay = -1 using deadlock detection on startup
process. If startup waits on a buffer pin we send a request to all
backends to cancel themselves if they are holding the buffer pin
required and they are also waiting on a lock. If not, startup waits
until max_standby_delay before cancelling any backend waiting for
the requested buffer pin.

Modified Files:
--------------
    pgsql/src/backend/storage/ipc:
        procsignal.c (r1.4 -> r1.5)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/ipc/procsignal.c?r1=1.4&r2=1.5)
        standby.c (r1.11 -> r1.12)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/ipc/standby.c?r1=1.11&r2=1.12)
    pgsql/src/backend/storage/lmgr:
        proc.c (r1.215 -> r1.216)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/lmgr/proc.c?r1=1.215&r2=1.216)
    pgsql/src/backend/tcop:
        postgres.c (r1.587 -> r1.588)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/tcop/postgres.c?r1=1.587&r2=1.588)
    pgsql/src/backend/utils/misc:
        guc.c (r1.538 -> r1.539)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/guc.c?r1=1.538&r2=1.539)
    pgsql/src/include/storage:
        proc.h (r1.119 -> r1.120)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/storage/proc.h?r1=1.119&r2=1.120)
        procsignal.h (r1.4 -> r1.5)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/storage/procsignal.h?r1=1.4&r2=1.5)
        standby.h (r1.7 -> r1.8)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/storage/standby.h?r1=1.7&r2=1.8)

pgsql-committers by date

Next:From: Tom LaneDate: 2010-02-13 02:34:16
Subject: pgsql: Support inlining various small performance-critical functions on
Previous:From: Simon RiggsDate: 2010-02-13 00:59:58
Subject: pgsql: Introduce WAL records to log reuse of btree pages, allowing

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