Re: Status report on writeable CTEs

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2010-07-12T18:34:20Z
Lists: pgsql-hackers
Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi> writes:
> ... So what I'm now thinking of is making the planner plan that as a single 
> Query, and make the planner expand it into multiple PlannedStmts if 
> necessary.  This would break the existing planner hooks, but I don't 
> think that's a huge problem.  Does anyone see any obvious flaws in this?

How will that interact with the existing rewriter?  It sounds a lot
like a recipe for duplicating functionality ...

			regards, tom lane