Re: wCTE behaviour
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi>
Cc: David Fetter <david@fetter.org>, Yeb Havinga <yebhavinga@gmail.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2010-11-13T15:08:51Z
Lists: pgsql-hackers
Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi> writes: > On 13 Nov 2010, at 15:41, David Fetter <david@fetter.org> wrote: >> Similarly, if a normal CTE called a data-changing function but was >> nevertheless not referred to, it would still run. > Actually, it wouldn't. Indeed, and that was considered a feature when we did it. I think that having wCTEs behave arbitrarily differently on this point might be a bad idea. regards, tom lane