Re: Is there a way to elegantly do a : CREATE TEMP TABLE X AS SELECT .... ON COMMIT DROP

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Is there a way to elegantly do a : CREATE TEMP TABLE X AS SELECT .... ON COMMIT DROP
Дата
Msg-id 23959.1205446790@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Is there a way to elegantly do a : CREATE TEMP TABLE X AS SELECT .... ON COMMIT DROP  (Colin Wetherbee <cww@denterprises.org>)
Ответы Re: Is there a way to elegantly do a : CREATE TEMP TABLE X AS SELECT .... ON COMMIT DROP
Список pgsql-general
Colin Wetherbee <cww@denterprises.org> writes:
> Adrian Klaver wrote:
>> Try CREATE TEMP TABLE foo ON COMMIT DROP AS (SELECT 1 AS a, 2 AS b) ;

> I don't know what version the OP is using, but that doesn't work on 8.1:

Seems to be there in 8.2 and up.

            regards, tom lane

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

Предыдущее
От: Anton Andreev
Дата:
Сообщение: Question about the cluster command
Следующее
От: Colin Wetherbee
Дата:
Сообщение: Re: Is there a way to elegantly do a : CREATE TEMP TABLE X AS SELECT .... ON COMMIT DROP