Re: SELECT INTO TEMPORARY problem

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: SELECT INTO TEMPORARY problem
Дата
Msg-id 45AE530B.5030602@archonet.com
обсуждение исходный текст
Ответ на SELECT INTO TEMPORARY problem  (David Goodenough <david.goodenough@btconnect.com>)
Список pgsql-general
David Goodenough wrote:
> I thought I understood that the table would disappear
> at the end of the transaction.  Other than deleting it, is there something
> else I need to do or have I missunderstood that into temporary does?

Dropped when the connection is closed normally, but see the ON COMMIT.

http://www.postgresql.org/docs/8.1/static/sql-createtable.html

You might have to do CREATE TABLE then INSERT INTO ... SELECT though.

--
   Richard Huxton
   Archonet Ltd

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SELECT INTO TEMPORARY problem
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Index bloat of 4x