Re: Dropping of indexes with cached PL query plans

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Dropping of indexes with cached PL query plans
Дата
Msg-id 28733.1140106370@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Dropping of indexes with cached PL query plans  (Jerry Sievers <jerry@jerrysievers.com>)
Список pgsql-admin
Jerry Sievers <jerry@jerrysievers.com> writes:
> Any of these connections that may have previously executed PL
> functions which planned an index lookup are now going to fault if same
> index goes away.

> Had wondered if a postmaster 'reload' would elicit a recompiling of
> func query plans (did *not* see this in the docs but was hopeful...).

Starting a fresh session (database connection) is sufficient, you need
not bounce the postmaster as such.

We are looking at making replanning happen automatically after a schema
change; I'm hopeful that that gets done for 8.2.

            regards, tom lane

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

Предыдущее
От: Jerry Sievers
Дата:
Сообщение: Dropping of indexes with cached PL query plans
Следующее
От: "Tomeh, Husam"
Дата:
Сообщение: Re: Postgresql performance and tuning questions