CREATE TEMP TABLE t1 ON COMMIT AS SELECT TRUE::BOOL LIMIT 0;

Поиск
Список
Период
Сортировка
От Sean Chittenden
Тема CREATE TEMP TABLE t1 ON COMMIT AS SELECT TRUE::BOOL LIMIT 0;
Дата
Msg-id 07FD1AF0-81D8-11D8-8EC1-000A95C705DC@chittenden.org
обсуждение исходный текст
Ответы Re: CREATE TEMP TABLE t1 ON COMMIT AS SELECT TRUE::BOOL LIMIT  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-bugs
In a follow up to my post from two days ago about creating TEMP TABLES,
I noticed what I think is kind of a glaring omission: CREATE TEMP TABLE
AS doesn't support ON COMMIT.  Nothing Earth shattering, but it did
catch me by surprise.  There's also no ALTER TABLE statement that I can
issue to tweak a TEMP table to have it include ON COMMIT behavior after
its been created.  If this isn't low hanging fruit, can someone add it
to the TODO list?  -sc


-- This works
CREATE TEMP TABLE t1 AS SELECT TRUE::BOOL LIMIT 0;

-- This does not
CREATE TEMP TABLE t1 ON COMMIT DROP AS SELECT TRUE::BOOL LIMIT 0;

--
Sean Chittenden

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

Предыдущее
От: "PostgreSQL Bugs List"
Дата:
Сообщение: BUG #1120: wrong dependency in postgresql-tcl-7.4.2.rpm
Следующее
От: Klint Gore
Дата:
Сообщение: missing messages?