On Sun, Nov 14, 2010 at 1:51 PM, Yeb Havinga <yebhavi...@gmail.com> wrote: > On 2010-11-14 19:35, Robert Haas wrote: >> >> On Sun, Nov 14, 2010 at 1:01 PM, Marko Tiikkaja >> <marko.tiikk...@cs.helsinki.fi> wrote: >>> >>> In my opinion, all of these should have the same effect: DELETE all rows >>> from "foo". Any other option means we're going to have trouble >>> predicting >>> how a query is going to behave. >> >> I think it's clear that's the only sensible behavior. > > What if CTE's ever get input parameters?
Then they'd be functions, which we already have. As Tom recently pointed out, you can even make them temporary with an explicit pg_temp schema qualification. Perhaps someday we'll have lambda-expressions, but I have no reason to believe that they'll use any of the wCTE syntax. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers