Re: call the same pl/pgsql procedure twice in the same connection

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: call the same pl/pgsql procedure twice in the same connection
Дата
Msg-id 5158.1017102907@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: call the same pl/pgsql procedure twice in the same connection  (Jan Wieck <janwieck@yahoo.com>)
Список pgsql-sql
Jan Wieck <janwieck@yahoo.com> writes:
>     This  is  somehow connected to the temporary view discussion,
>     as it  needs  the  same  detection  if  a  query  depends  on
>     temporary  objects.  As soon as we have a detection mechanism
>     for it, I can modify PL/pgSQL not to save prepared plans  for
>     these statements.

Actually, I don't think plpgsql should make any special discrimination
against temp tables; it should be able to re-use a query plan for
exactly as long as the temp table exists.  But I agree that we need
a mechanism for tracking query-plan dependencies for this to happen.
        regards, tom lane


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

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: call the same pl/pgsql procedure twice in the same connection
Следующее
От: Achilleus Mantzios
Дата:
Сообщение: Arrays Design Question