Re: temporary table oddity - Mailing list pgsql-general

From Bruce Momjian
Subject Re: temporary table oddity
Date
Msg-id 200303221756.h2MHulk18251@candle.pha.pa.us
Whole thread Raw
In response to temporary table oddity  (jwsacksteder@ramprecision.com)
List pgsql-general
In < 7.3, that is the internal table name. References to the table will
still work.

In 7.3 all temp tables are in their own schema, so they have usual
names.

---------------------------------------------------------------------------

jwsacksteder@ramprecision.com wrote:
> If I try to make a temporary table like this-
>
> create temporary table current_inventory AS
> select * from inventory where qty > 0
>
> - I get a table called 'pg_temp_4473_0' instead of my specified name.
>
> What gives? Why did this stop working for me?
>
> (Please respond directly to me. I'm not currently subscribed)
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073


pgsql-general by date:

Previous
From: Doug McNaught
Date:
Subject: Re: Problems with deleting data.
Next
From: Tom Lane
Date:
Subject: Re: 32/64-bit transaction IDs?