Re: temporary table oddity

From: Doug McNaught <doug(at)mcnaught(dot)org>
To: jwsacksteder(at)ramprecision(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: temporary table oddity
Date: 2003-03-22 17:44:45
Message-ID: m3k7er47oy.fsf@varsoon.wireboard.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

jwsacksteder(at)ramprecision(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Oliver Elphick 2003-03-22 17:45:18 Re: ssl
Previous Message Doug McNaught 2003-03-22 17:42:20 Re: Getting Network Statistics