Re: Interesting featurette? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Interesting featurette?
Date
Msg-id 200007091627.MAA20445@candle.pha.pa.us
Whole thread Raw
In response to Interesting featurette?  (Philip Warner <pjw@rhyme.com.au>)
List pgsql-hackers
> zzz=# create  table zzz(f1 int4);
> zzz=# create temporary table zzz(f1 int4);
> 
> ...works
> 
> zzz=# create temporary table zzz(f1 int4);
> zzz=# create  table zzz(f1 int4);
> ERROR:  Relation 'zzz' already exists
> 
> Is this a problem?

Temporary tables mask real tables.  Real tables can't mask temporary
tables.  This is the way it should be, I think.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: initdb and runcheck problems (Latest CVS)
Next
From: Bruce Momjian
Date:
Subject: Re: initdb and runcheck problems (Latest CVS)