Re: Book and TEMP vs. TEMPORARY - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Book and TEMP vs. TEMPORARY
Date
Msg-id 200004061641.MAA23469@candle.pha.pa.us
Whole thread Raw
In response to Re: Book and TEMP vs. TEMPORARY  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
List pgsql-hackers
> > > TEMPORARY is SQL92 standard, TEMP is not.  Nuff said...
> > OK, but TEMPORARY doesn't work on 6.5.*, right?
> 
> Sure it does (at least as far as I can tell. The test/locale stuff has
> screwed up CVS update, so I have to do a clean checkout of at least
> that directory to get my tree back in shape :(
> 
> And, to beat a dead horse, I'm *still* not sure why we are carrying
> along the "TEMP" variant, losing the use of that name for other
> things.

Well, Tom Lane made it so we allow TEMP as an indentifier.  I now
remember that the issue with 7.0 was that everyone beat up on me because
I used TEMP instead of the SQL92-standard TEMPORARY when implementing
temporary tables.  See, it works now:
test=> create table x ( temp char(2));CREATE

--  Bruce Momjian                        |  http://www.op.net/~candle 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: Karel Zak
Date:
Subject: RE: pg_dumplo, thanks :) (fwd)
Next
From: Bruce Momjian
Date:
Subject: Vacuuming temporary tables