Re: pgsql: PREPARE and EXPLAIN need to copy the source query just like we

Поиск
Список
Период
Сортировка
От Sean Chittenden
Тема Re: pgsql: PREPARE and EXPLAIN need to copy the source query just like we
Дата
Msg-id 3131E4B8-4C94-11D9-983C-000A95C705DC@chittenden.org
обсуждение исходный текст
Ответ на pgsql: PREPARE and EXPLAIN need to copy the source query just like we  (tgl@svr1.postgresql.org (Tom Lane))
Ответы Re: pgsql: PREPARE and EXPLAIN need to copy the source query just like we  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
> PREPARE and EXPLAIN need to copy the source query just like we recently
> had to do in DECLARE CURSOR.  AFAICS these are all the places affected.
> PREPARE case per example from Michael Fuhr, EXPLAIN case located by
> grepping for planner calls ...

Does this mean that cache lookup failures (most notably in pl/pgsql)
will simply result in a replan as opposed to a query failure and the
transaction being aborted?  Or is this a first step in that direction?
-sc

--
Sean Chittenden


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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: pgsql: Instead of supposing (wrongly, in the
Следующее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Back-patch copyOject fix for EXPLAIN/PREPARE.