Обсуждение: pgsql: Detect early deadlock in Hot Standby when Startup is already

Поиск
Список
Период
Сортировка

pgsql: Detect early deadlock in Hot Standby when Startup is already

От
sriggs@postgresql.org (Simon Riggs)
Дата:
Log Message:
-----------
Detect early deadlock in Hot Standby when Startup is already waiting. First
stage of required deadlock detection to allow re-enabling max_standby_delay
setting of -1, which is now essential in the absence of improved relation-
specific conflict resoluton. Requested by Greg Stark et al.

Modified Files:
--------------
    pgsql/src/backend/storage/ipc:
        standby.c (r1.8 -> r1.9)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/ipc/standby.c?r1=1.8&r2=1.9)
    pgsql/src/backend/storage/lmgr:
        lock.c (r1.193 -> r1.194)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/lmgr/lock.c?r1=1.193&r2=1.194)
    pgsql/src/include/storage:
        standby.h (r1.6 -> r1.7)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/storage/standby.h?r1=1.6&r2=1.7)