Re: 'DROP INDEX' kills stored rpocedures

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 'DROP INDEX' kills stored rpocedures
Дата
Msg-id 12018.1049396480@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 'DROP INDEX' kills stored rpocedures  ("scott.marlowe" <scott.marlowe@ihs.com>)
Ответы Re: 'DROP INDEX' kills stored rpocedures  (Vlad Krupin <vlad@echospace.com>)
Список pgsql-general
"scott.marlowe" <scott.marlowe@ihs.com> writes:
> Don't make assumptions like that.  In postgresql, DDL is transactionable.

I think his actual problem is that plpgsql cached a query plan for some
command while the index was in place, and then on a later re-execution
of the function, it tried to re-use the cached plan.  This is a general
problem that we know we need to fix sooner or later --- cached plans
need to be invalidated when there are DDL changes to the underlying
tables, views, etc.

            regards, tom lane


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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: updating table field whenever other table field changes
Следующее
От: Clarence Gardner
Дата:
Сообщение: triggers using row values