Re: Snapshot management, final

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Snapshot management, final
Дата
Msg-id 1208900712.4259.1268.camel@ebony.site
обсуждение исходный текст
Ответ на Snapshot management, final  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Snapshot management, final  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-patches
On Tue, 2008-04-22 at 15:49 -0400, Alvaro Herrera wrote:

> - Three CopySnapshot call sites remain outside snapmgr.c: DoCopy() on
> copy.c, ExplainOnePlan() on explain.c and _SPI_execute_plan() on spi.c.
> They are there because they grab the current ActiveSnapshot, modify it,
> and then use the resulting snapshot.  There is no corresponding
> FreeSnapshot, because it's not needed.

Not needed? How can we be certain that the modified snapshot does not
outlive its original source?

--
  Simon Riggs
  2ndQuadrant  http://www.2ndQuadrant.com


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Snapshot management, final
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Snapshot management, final