"Jim C. Nasby" <[EMAIL PROTECTED]> writes:
> Aggregates sound interesting, though I'm not sure how useful they'd
> actually be. I think something like
>       FOR v_row IN (UPDATE ... RETURNING ...)
> would be a lot more useful (if it's not already in the patch).

It's not.  I thought about it for a bit but there are some nasty gotchas
if the planner decides it needs to rescan the subquery multiple times.
I'd say that's something to leave for 8.3 ...

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not

Reply via email to