Skip site navigation (1) Skip section navigation (2)

Re: Expanding DELETE/UPDATE returning

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Rusty Conover <rconover(at)infogears(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Expanding DELETE/UPDATE returning
Date: 2007-02-27 04:14:01
Message-ID: 10599.1172549641@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Rusty Conover <rconover(at)infogears(dot)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

In response to

Responses

pgsql-hackers by date

Next:From: Jim C. NasbyDate: 2007-02-27 04:43:46
Subject: Re: Seeking Google SoC Mentors
Previous:From: Tom LaneDate: 2007-02-27 04:07:10
Subject: Re: [HACKERS] COMMIT NOWAIT Performance Option (patch)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group