Re: Snapshot warning

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Snapshot warning
Дата
Msg-id 4731.1227641821@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Snapshot warning  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Tom Lane escribi�:
>> Hmm, that's a bit problematic because resowner.c doesn't have any global
>> notion of what resource owners exist.  I think you still need to have
>> snapmgr.c maintain a list of all known snapshots.  resowner.c can only
>> help you with tracking reference counts for particular snapshots.

> A counter seems to suffice.  Patch attached.

Looks sane to me.  The list solution might be needed later, if we wanted
to get smarter about advancing our xmin after deleting only some of our
snapshots ... but this'll do for now.
        regards, tom lane


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Snapshot warning
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Exporting PGINTERVALSTYLE prevents access to older server versions