Re: Temp Tables

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: mdb002(at)yahoo(dot)com (mdb)
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Temp Tables
Date: 2002-03-07 17:56:45
Message-ID: 11697.1015523805@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

mdb002(at)yahoo(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2002-03-07 17:58:27 Re: Temp Tables
Previous Message Tom Lane 2002-03-07 17:23:42 Re: [GENERAL] PGSTAT Error from Postmaster