pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Steve Crawford <scrawford@pinpointresearch.com>
Cc: Pascal Tufenkji <ptufenkji@usj.edu.lb>
Cc: pgsql-general@postgresql.org
Subject: Re: Temp tables
Date: Thu, 23 May 2013 16:32:34 -0400
Message-ID: <18426.1369341154@sss.pgh.pa.us> (raw)
In-Reply-To: <519E7117.9000402@pinpointresearch.com>
References: <008f01ce5786$8a6f57b0$9f4e0710$@usj.edu.lb>
	<519E7117.9000402@pinpointresearch.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>

Steve Crawford <scrawford@pinpointresearch.com> writes:
> On 05/23/2013 12:24 AM, Pascal Tufenkji wrote:
>> When I type the following, the database gives me an error:
>> dragon=# CREATE TEMP TABLE _parcours (id int);
>> ERROR:  type "_parcours" already exists

Perhaps you have a type or temp table named "parcours"?  If so,
"_parcours" is the internal name of the associated array type.
You'll need to use a different name.

> It feels a bit like there is something leftover from a previous process 
> that was using the same connection.

We have seen a small number of reports where it seemed that some catalog
entry(s) associated with temp tables didn't get dropped when they should
have been.  No one's been able to create a reproducible case though.

			regards, tom lane


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



view thread (24+ messages)  latest in thread

Message-ID: <18426.1369341154@sss.pgh.pa.us>
Permalink:  ../18426.1369341154@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18426.1369341154@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-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, scrawford@pinpointresearch.com, ptufenkji@usj.edu.lb
  Subject: Re: Temp tables
  In-Reply-To: <18426.1369341154@sss.pgh.pa.us>
  References: <008f01ce5786$8a6f57b0$9f4e0710$@usj.edu.lb> <519E7117.9000402@pinpointresearch.com> <18426.1369341154@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