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
|
| Список | 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 по дате отправления: