Re: Interesting featurette?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
Cc: hackers(at)postgresql(dot)org
Subject: Re: Interesting featurette?
Date: 2000-07-09 16:27:30
Message-ID: 200007091627.MAA20445@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-07-09 16:38:12 Re: initdb and runcheck problems (Latest CVS)
Previous Message Peter Eisentraut 2000-07-09 13:20:19 Re: initdb and runcheck problems (Latest CVS)