Re: plpgsql TEMP table issue not fixed in 8.1?

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: plpgsql TEMP table issue not fixed in 8.1?
Дата
Msg-id 1134759391.9142.46.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: plpgsql TEMP table issue not fixed in 8.1?  ("Jim Klo" <jklo@webassociates.com>)
Список pgsql-bugs
On Thu, 2005-12-15 at 11:09 -0800, Jim Klo wrote:
> I’m having a similar problem:
>
> ERROR:  relation with OID 7121526 does not exist
> CONTEXT:  SQL statement "SELECT  * INTO  temp tmp_resourcequeue from resourcequeue where timeblockid in (select
timeblockidfrom tmp_timeblock)" 
> PL/pgSQL function "archivetimeblocks" line 54 at SQL statement
>
> Works the first time, but not the second… even tho the temp table has been explicitly dropped between executions.
>
> Is there a fix or workaround for this yet?

Only the workarounds that have always existed: drop and recreate the
function, disconnect and then reconnect the client application, or
reference the temp table using EXECUTE only. The underlying problem
(invalidation of cached query plans) has not yet been fixed.

-Neil

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

Предыдущее
От: Jon Keating
Дата:
Сообщение: Re: BUG #2116: Searching text fields does not work in EUC_JP
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Postgres 8.1 hangs at boot time due to password authentication for user postgres.