Re: SPI_ERROR_CONNECT within pl/pgsql, PG 8.4

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SPI_ERROR_CONNECT within pl/pgsql, PG 8.4
Дата
Msg-id 25339.1247590457@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: SPI_ERROR_CONNECT within pl/pgsql, PG 8.4  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: SPI_ERROR_CONNECT within pl/pgsql, PG 8.4  (Marek Lewczuk <marek@lewczuk.com>)
Список pgsql-bugs
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> Tom Lane wrote:
>> [ looks at CVS logs ... ]  Another case that will cause plan
>> invalidation in 8.4 and not 8.3 is creating or dropping a schema.
>> Do you do a lot of that?

> Hmm, he says he uses temporary tables. Does creating/dropping a
> temporary namespace trigger plan cache invalidation?

It could, but I suppose that most DBs would soon reach a steady state
where they have all the pg_temp_ schemas they need.  (Hadn't occurred to
me before, but this is a real good reason for the implementation not
discarding the actual schema when a temp namespace is recycled ...)

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SPI_ERROR_CONNECT within pl/pgsql, PG 8.4
Следующее
От: "Sergey Konoplev"
Дата:
Сообщение: BUG #4922: Segmentation fault on high-loaded server (+coredump backtrace)