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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: PREPARE and EXPLAIN need to copy the source query just like we
Дата
Msg-id 13819.1102898751@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: PREPARE and EXPLAIN need to copy the source query just like we  (Sean Chittenden <sean@chittenden.org>)
Список pgsql-committers
Sean Chittenden <sean@chittenden.org> writes:
>> 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?

No, and no.  This has no user-visible impact at all (other than not
crashing in cases that should work).

            regards, tom lane

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

Предыдущее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Avoid generating excess (and illegal) parentheses around an
Следующее
От: momjian@svr1.postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Update FAQ.