Re: Executing a user created function twice give an error

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: Executing a user created function twice give an error
Дата
Msg-id 49353288.6000503@iol.ie
обсуждение исходный текст
Ответ на Re: Executing a user created function twice give an error  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Список pgsql-general
On 02/12/2008 12:50, A. Kretschmer wrote:

> PG cached the plan and the also the OID for affected tables. To avoid
> this, use EXECUTE 'insert your query here' for create or delete tables
> within plpgsql.

This has been fixed in 8.3 - you no longer have to construct dynamically
any statements which touch temporary tables. If you have to do a lot of
this, it would be worth your while upgrading....not to mention the
performance improvements also.

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@iol.ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: Executing a user created function twice give an error
Следующее
От: Teodor Sigaev
Дата:
Сообщение: Re: [TextSearch] syntax error while parsing affix file