DELETE RETURNING

Поиск
Список
Период
Сортировка
От Markus Schaber
Тема DELETE RETURNING
Дата
Msg-id 451793CD.5050506@logix-tt.com
обсуждение исходный текст
Ответы Re: DELETE RETURNING  (Dave Cramer <pg@fastcrypt.com>)
Список pgsql-hackers
Hi,

I just read the docs about DELETE RETURNING in 8.2, and a small idea arised:

INSERT INTO logtable DELETE * FROM lifetable WHERE date<'2006-01-01'
RETURNING *;

Will this work as expected?

It might be a good example to put into the docs then.

If not, it may be worth the effort to make it work in 8.3.


Thanks,
Markus

--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: 8.3 Development Cycle
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: Windows build farm failures