Re: Writeable CTE patch

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Writeable CTE patch
Дата
Msg-id 20091207220635.GP3552@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Writeable CTE patch  (Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi>)
Список pgsql-hackers
Marko Tiikkaja escribió:
> Tom Lane wrote:
> >The only thing that I'd be comfortable with is
> >copying the snap and modifying the copy.
> 
> I don't see an easy way to do that with the current code;
> CopySnapshot() is static and PushUpdatedSnapshot() seems to be a bit
> of a pain since it messes up some of the existing code which uses
> the active snapshot stack.  Any ideas?

That API is rather new.  Maybe we need a new entry point, say
GetActiveSnapshotCopy or some such.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: David Fetter
Дата:
Сообщение: Exclusion Constraint vs. Constraint Exclusion
Следующее
От: Stephen Cook
Дата:
Сообщение: Re: Exclusion Constraint vs. Constraint Exclusion