> The first solution that comes to mind is to pay attention to the
> interdependencies of the CTEs, and perform the cleanup in an appropriate
> order (here, the ModifyTable for y needs to be cycled first).
Doh ... actually, we already *are* ordering the CTEs in dependency
order, so it's a one-liner fix to do the shutdowns in reverse order.
regards, tom lane
In response to
pgsql-hackers by date
|Next:||From: Robert Haas||Date: 2011-02-26 05:07:40|
|Subject: Re: PostgreSQL FDW update|
|Previous:||From: Tom Lane||Date: 2011-02-26 03:57:24|
|Subject: Re: wCTE: why not finish sub-updates at the end, not the beginning? |