Re: SQL Functions and plan time

Поиск
Список
Период
Сортировка
От nolan@celery.tssi.com
Тема Re: SQL Functions and plan time
Дата
Msg-id 20030708054927.13236.qmail@celery.tssi.com
обсуждение исходный текст
Ответ на Re: SQL Functions and plan time  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: SQL Functions and plan time  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
> It's planned once per query.  There's been some talk of building a
> cross-query plan cache for SQL functions, like plpgsql has, but
> nothing done yet.

Several weeks ago I posted a note about a plpgsql function that fails
if an index that existed when it was created is subsequently dropped.
(I think this should be considered a bug, the existence or nonexistence
of indexes should affect performance, not whether queries fail.)

Would a cross-query plan cache for SQL functions create similar problems?
--
Mike Nolan

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SQL Functions and plan time
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SQL Functions and plan time