Re: indexes on functions and create or replace function

Поиск
Список
Период
Сортировка
От Christophe
Тема Re: indexes on functions and create or replace function
Дата
Msg-id 714693CC-DD53-4657-9BEE-FCE667EEA8E7@thebuild.com
обсуждение исходный текст
Ответ на Re: indexes on functions and create or replace function  ("Matthew Dennis" <mdennis@merfer.net>)
Ответы Re: indexes on functions and create or replace function  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: indexes on functions and create or replace function  ("Matthew Dennis" <mdennis@merfer.net>)
Список pgsql-general
On Aug 28, 2008, at 6:10 PM, Matthew Dennis wrote:
> I'm not sure I follow.  Couldn't you track which statements were
> prepared that called a function and either reprepare (just like
> reindex, recheck, etc) or in the case of dropping a function,
> refuse to drop it because something depends on it?

EXECUTE in PL/pgSQL accepts a string and executes it as a statement.
(That's different from the SQL-level EXECUTE.) I'm not sure how one
would track dependencies there.

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

Предыдущее
От: "Matthew Dennis"
Дата:
Сообщение: Re: indexes on functions and create or replace function
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: indexes on functions and create or replace function