pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: mdb002@yahoo.com
Cc: pgsql-general@postgresql.org
Subject: Re: Temp Tables
Date: Thu, 07 Mar 2002 12:56:45 -0500
Message-ID: <11697.1015523805@sss.pgh.pa.us> (raw)
In-Reply-To: <9e6ea67a.0203041248.24859ff2@posting.google.com>
References: <9e6ea67a.0203041248.24859ff2@posting.google.com>

mdb002@yahoo.com (mdb) writes:
> I am running a client server app and am using temp tables to do some
> data manipulation.  However, Postgresql seems to prevent multiple temp
> tables from being created with the same name.  The temp tables are
> created by seperate connections to the database, but this does not
> seem to matter.

Surely not.

In window 1:
regression=# create temp table foo (f1 int);
CREATE
regression=#

In window 2:
regression=# create temp table foo (f1 float, f2 float);
CREATE
regression=#

So I don't see a problem.  Would you give us an example of exactly what
you are doing?

			regards, tom lane



view thread (24+ messages)  latest in thread

Message-ID: <11697.1015523805@sss.pgh.pa.us>
Permalink:  ../11697.1015523805@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11697.1015523805@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, mdb002@yahoo.com
  Subject: Re: Temp Tables
  In-Reply-To: <11697.1015523805@sss.pgh.pa.us>
  References: <9e6ea67a.0203041248.24859ff2@posting.google.com> <11697.1015523805@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