Marko Tiikkaja <marko.tiikk...@cs.helsinki.fi> writes: > If I understood you correctly, this would imply that you wouldn't be > able to do for example:
> INSERT INTO foo > WITH t AS ( DELETE FROM bar RETURNING * ) > SELECT * FROM t; Um ... forget what I said --- not enough caffeine yet, apparently. Yeah, rewrite rules are going to be a *serious* stumbling block to this whole concept. Maybe we should just punt the project until we have a clear idea of how to do that. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers