From: lifeair@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #6707: ERROR: could not open relation with OID
Date: Tue, 26 Jun 2012 15:39:20 +0000
Message-ID: <E1SjXrM-000119-Vk@wrigleys.postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 6707
Logged by: LiFeAiR
Email address: lifeair@gmail.com
PostgreSQL version: 9.1.4
Operating system: FREE BSD
Description:
CREATE OR REPLACE FUNCTION test() RETURNS integer AS
$BODY$
DECLARE
_r RECORD;
BEGIN
CREATE TEMP TABLE test(id int);
_r := ROW(NULL)::test;
_r:=NULL;
DROP TABLE test CASCADE;
RETURN 1;
END;
$BODY$
LANGUAGE plpgsql VOLATILE
COST 100;
select test();
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: lifeair@gmail.com
Subject: Re: BUG #6707: ERROR: could not open relation with OID
In-Reply-To: <E1SjXrM-000119-Vk@wrigleys.postgresql.org>
References: <E1SjXrM-000119-Vk@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox