Re: BUG #3229: Incorrect temp table work - Mailing list pgsql-bugs

From Stefan Kaltenbrunner
Subject Re: BUG #3229: Incorrect temp table work
Date
Msg-id 4623B6A1.80909@kaltenbrunner.cc
Whole thread Raw
In response to BUG #3229: Incorrect temp table work  ("ALEXEY PARSHIN" <alexeyp@gmail.com>)
List pgsql-bugs
ALEXEY PARSHIN wrote:
> The following bug has been logged online:
>
> Bug reference:      3229
> Logged by:          ALEXEY PARSHIN
> Email address:      alexeyp@gmail.com
> PostgreSQL version: 8.1.8
> Operating system:   Gentoo Linux
> Description:        Incorrect temp table work
> Details:
>
> If I call the following function two or more time, I get an error "relation
> with OID 318730 does not exist":

this is documented (and a workaround is mentioned as well) in the FAQ:
http://www.postgresql.org/docs/faqs.FAQ.html#item4.19

and this will get improved (through plan invalidation) in the upcoming
8.3 release of postgresql too in a way that will not require the EXECUTE
workaround any more.


Stefan

pgsql-bugs by date:

Previous
From: "Jeferson Kasper"
Date:
Subject: BUG #3230: Division problem
Next
From: Heikki Linnakangas
Date:
Subject: Re: BUG #3231: Duplicate rows primary key bug