Re: Hot Standby and DROP DATABASE

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Hot Standby and DROP DATABASE
Дата
Msg-id 1265561344.27207.35.camel@ebony
обсуждение исходный текст
Ответ на Re: Hot Standby and DROP DATABASE  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Sat, 2010-02-06 at 17:32 +0100, Andres Freund wrote:
> > 
> > So it seems at least the behavior is quite different from what the
> > docs stats. Am I missing something here?
> Its a small bug/typo in standby.c:ResolveRecoveryConflictWithDatabase
> 
> The line:
>         CancelDBBackends(dbid, PROCSIG_RECOVERY_CONFLICT_TABLESPACE, true);
> 
> has to be
>         CancelDBBackends(dbid, PROCSIG_RECOVERY_CONFLICT_DATABASE, true);

Well spotted, thanks for the report and the analysis.

The code for drop database worked when committed but it looks like the
re-factoring of the code broke it. Will fix.

-- Simon Riggs           www.2ndQuadrant.com



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Precedence of Postfix operators
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: pg_class has no toast table?