Re: Expanding DELETE/UPDATE returning - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Expanding DELETE/UPDATE returning
Date
Msg-id 10599.1172549641@sss.pgh.pa.us
Whole thread Raw
In response to Expanding DELETE/UPDATE returning  (Rusty Conover <rconover@infogears.com>)
Responses Re: Expanding DELETE/UPDATE returning  (David Fetter <david@fetter.org>)
Re: Expanding DELETE/UPDATE returning  ("Jim C. Nasby" <jim@nasby.net>)
List pgsql-hackers
Rusty Conover <rconover@infogears.com> writes:
> I didn't see this on the TODO list, but if it is my apologies.  Is it  
> in the cards to expand the functionality of DELETE/UPDATE returning  
> to be able to sort the output of the rows returned?

No.

> Or allow delete  
> and update to be used in sub-queries?

That's been discussed but the implementation effort seems far from
trivial.  One big problem is that a sub-query can normally be
re-executed multiple times, eg on the inner side of a join; whereas
that's clearly not acceptable for an insert/update/delete.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCHES] COMMIT NOWAIT Performance Option (patch)
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Seeking Google SoC Mentors