Re: why do we need two snapshots per query?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: why do we need two snapshots per query?
Дата
Msg-id 4811.1321023694@sss.pgh.pa.us
обсуждение исходный текст
Ответ на why do we need two snapshots per query?  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: why do we need two snapshots per query?
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> Can't we arrange to retain the snapshot used for parse
> analysis / planning and reuse it for the portal that we create just
> afterwards?

Possibly, but what if planning takes a long time?  Also, I think you're
ignoring the extended-query-protocol scenario, where it would be a whole
lot harder to justify keeping a snapshot from Parse through Bind and
Execute.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Manual anti-wraparound vacuums
Следующее
От: Andreas 'ads' Scherbaum
Дата:
Сообщение: Hotel reservation for FOSDEM 2012 - Deadline: December 31th, 2011