| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера