Re: temporary table oddity

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: temporary table oddity
Дата
Msg-id 200303221756.h2MHulk18251@candle.pha.pa.us
обсуждение исходный текст
Ответ на temporary table oddity  (jwsacksteder@ramprecision.com)
Список 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 по дате отправления:

Предыдущее
От: Doug McNaught
Дата:
Сообщение: Re: Problems with deleting data.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 32/64-bit transaction IDs?