pgsql: Lock database while running drop database in Hot Standby to

Поиск
Список
Период
Сортировка
От sriggs@postgresql.org (Simon Riggs)
Тема pgsql: Lock database while running drop database in Hot Standby to
Дата
Msg-id 20100116141631.A609D7541B9@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Lock database while running drop database in Hot Standby to protect
against concurrent reconnection. Failure during testing showed issue
was possible, even though earlier analysis seemed to indicate it
would not be required. Use LockSharedObjectForSession() before
ResolveRecoveryConflictWithDatabase() and hold lock until end of
processing for that WAL record. Simple approach to avoid introducing
further bugs at this stage of development on an improbable issue.

Modified Files:
--------------
    pgsql/src/backend/commands:
        dbcommands.c (r1.232 -> r1.233)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/dbcommands.c?r1=1.232&r2=1.233)

В списке pgsql-committers по дате отправления:

Предыдущее
От: maosen@pgfoundry.org (User Maosen)
Дата:
Сообщение: pgexternaltable - src:
Следующее
От: fxjr@pgfoundry.org (User Fxjr)
Дата:
Сообщение: npgsql - Npgsql2: Added a test for Europe/Amsterdam timezone with dates