Re: [GENERAL] Creating a temporary table isn't working - Mailing list pgsql-general

From Bruce Momjian
Subject Re: [GENERAL] Creating a temporary table isn't working
Date
Msg-id 199911100046.TAA23421@candle.pha.pa.us
Whole thread Raw
In response to Creating a temporary table isn't working  ("Darvin Zuch" <darvin.zuch@autoprofile.com>)
List pgsql-general
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Good Morning All!
>
> Really simple question.
> I put in the following command and I get a parse error but when I get rid of
> the optional TEMP it works okay.  The docs seem to say this is how its done.
>
> gammamatrix=> CREATE TEMP TABLE Start (VatiID int NOT NULL, TrimID int,
> BodyID int, GVWRID int, DrivetrainID int, EngineID int, TransID int , FuelId
> int);
> ERROR:  parser: parse error at or near "temp"
>
> Any help would be greatly appreciated.

Temp tables are only in 6.5.*.

--
  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, Pennsylvania 19026

pgsql-general by date:

Previous
From: "Darvin Zuch"
Date:
Subject: Creating a temporary table isn't working
Next
From: Ryan Kirkpatrick
Date:
Subject: Re: [GENERAL] Postgres on Linux Alpha