Re: temporary table oddity - Mailing list pgsql-general

From Doug McNaught
Subject Re: temporary table oddity
Date
Msg-id m3k7er47oy.fsf@varsoon.wireboard.com
Whole thread Raw
In response to temporary table oddity  (jwsacksteder@ramprecision.com)
List pgsql-general
jwsacksteder@ramprecision.com writes:

> 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.

Postgres 7.3, right?

That's a schema, not a table.  The temporary table is in that schema.

You shouldn't need to do anything special, though.  What are you
doing, exactly, and what error do you get?

-Doug

pgsql-general by date:

Previous
From: Doug McNaught
Date:
Subject: Re: Getting Network Statistics
Next
From: Oliver Elphick
Date:
Subject: Re: ssl