pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: g.jalmi@tcs.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14003: Error "could not open relation with OID 18152875"
Date: Mon, 07 Mar 2016 10:50:21 -0500
Message-ID: <21083.1457365821@sss.pgh.pa.us> (raw)
In-Reply-To: <20160307125737.25731.19550@wrigleys.postgresql.org>
References: <20160307125737.25731.19550@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

g.jalmi@tcs.com writes:
> PostgreSQL version: 9.1.14

> Scenario:  A temporary table is created within a function where no schema
> name is specefied for the table. This table is created using dynamic sql. 
> 	close the cursor
> 		return all records from temporary table  and then drop the temorary
> table.

It's hard to be sure since you didn't provide a concrete test case, but
this sounds very much like a bug that was fixed last September (in 9.1.19
and its sibling releases); see
http://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=dae1c9480

If updating to 9.1.19 or 9.1.20 doesn't fix it, please provide an
exact script to reproduce the problem.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)

Message-ID: <21083.1457365821@sss.pgh.pa.us>
Permalink:  ../21083.1457365821@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/21083.1457365821@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, g.jalmi@tcs.com
  Subject: Re: BUG #14003: Error "could not open relation with OID 18152875"
  In-Reply-To: <21083.1457365821@sss.pgh.pa.us>
  References: <20160307125737.25731.19550@wrigleys.postgresql.org> <21083.1457365821@sss.pgh.pa.us>

* 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