Thread: Re: [HACKERS] CREATE TEMP TABLE

Re: [HACKERS] CREATE TEMP TABLE

From
Bruce Momjian
Date:
> > SQL92 uses TEMPORARY instead, I think it would be 
> > interesting to keep compatibility with SQL Standard.
> > CREATE  [{ GLOBAL | LOCAL } TEMPORARY ] TABLE class_name
> 
> Bruce, is this OK? If so, I'll put it in (if someone else hasn't
> already done so).

We only support LOCAL, I think, because the visibility of the table is
only local.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@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
 


Re: [HACKERS] CREATE TEMP TABLE

From
Thomas Lockhart
Date:
> > > SQL92 uses TEMPORARY instead, I think it would be
> > > interesting to keep compatibility with SQL Standard.
> > > CREATE  [{ GLOBAL | LOCAL } TEMPORARY ] TABLE class_name
> > Bruce, is this OK? If so, I'll put it in (if someone else hasn't
> > already done so).
> We only support LOCAL, I think, because the visibility of the table is
> only local.

OK. I've got patches to include the LOCAL/GLOBAL syntax, and an elog
error if GLOBAL is specified. Will apply soon...
                 - Tom

-- 
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California