Re: Snapshot warning

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Snapshot warning
Дата
Msg-id 20081125170139.GL4875@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Snapshot warning  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera escribió:

> The only thing I'm now missing is SnapshotResetXmin().  It currently
> looks like this:


> After the patch we don't have any way to detect whether resowner.c has
> any snapshot still linked to.  I assume there's no objection to adding a
> new entry point in resowner.c for this.

Hmm, that doesn't readily work because there's no way to track
transaction boundaries in resource owners.  I think I'll have to add a
separate static counter in snapmgr.c that's maintained by the calls from
resowner.c.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Snapshot warning
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Snapshot warning