Re: Small Bug in GetConflictingVirtualXIDs

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Small Bug in GetConflictingVirtualXIDs
Дата
Msg-id 15331.1261409887@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Small Bug in GetConflictingVirtualXIDs  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Small Bug in GetConflictingVirtualXIDs  (Simon Riggs <simon@2ndQuadrant.com>)
Re: Small Bug in GetConflictingVirtualXIDs  (Andres Freund <af@cybertec.de>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Andres Freund wrote:
>> The logic behind this seems fine except in the case of dropping a database. 
>> There you very well might have a open connection without an open snapshot.

> Perhaps the simplest fix is to ensure that drop database gets a snapshot?

I confess to not having followed the thread closely, but why is DROP
DATABASE special in this regard?  Wouldn't we soon find ourselves
needing every utility command to take a snapshot?
        regards, tom lane


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

Предыдущее
От: Rafael Martinez
Дата:
Сообщение: Re: Table size does not include toast size
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Small Bug in GetConflictingVirtualXIDs