Re: Snapshot management, final

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Snapshot management, final
Дата
Msg-id 1208957115.4259.1312.camel@ebony.site
обсуждение исходный текст
Ответ на Re: Snapshot management, final  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Snapshot management, final  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-patches
On Wed, 2008-04-23 at 08:21 -0400, Alvaro Herrera wrote:
> Simon Riggs wrote:
> > On Tue, 2008-04-22 at 18:13 -0400, Alvaro Herrera wrote:
> > > Simon Riggs wrote:
> > >
> > > > OK, so it can;t be copied to a longer lived memory context?
> > >
> > > If you need that ability, please explain.
> >
> > No, I wish to prevent that, not enable it.
>
> I see.  Sure, we don't have that problem.  In fact, we didn't have it
> before either, so I'm not sure I see your point :-)

You originally said "because its not needed" but didn't explain why. I
wanted to make sure there was no loophole. I'm not trying to make any
other point, just checking.

Forgive me for being dense, but what is there to stop you using a
CopySnapshot in TopMemoryContext? If you did, there would be no way to
free it, nor would we notice it had been done, AFAICS. Not anything I'm
thinking about doing, though.

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


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

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