From: | Dave Cramer <pg(at)fastcrypt(dot)com> |
---|---|
To: | Markus Schaber <schabi(at)logix-tt(dot)com> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: DELETE RETURNING |
Date: | 2006-09-25 12:03:23 |
Message-ID: | F8BE391D-4F22-4E15-97F4-5036D69B55E4@fastcrypt.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 25-Sep-06, at 4:31 AM, Markus Schaber wrote:
> 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?
What is your expected result here ? It would return all the rows that
were deleted ?
Dave
>
> 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
>
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2006-09-25 12:10:45 | Re: Buildfarm failure at "initdb" - member Cassowary |
Previous Message | Magnus Hagander | 2006-09-25 12:01:04 | Re: Windows build farm failures |