>>>>> "Andreas" == Andreas Karlsson <andr...@proxel.se> writes:
>> WITH ctename AS [[NOT] MATERIALIZED] (query) Andreas> I think "NOT MATERIALIZED" would be a bit misleading since the Andreas> planner may choose to materialize anyway, It would certainly be possible to make an explicit NOT MATERIALIZED override such a choice by the planner, or produce an error if it is actually impossible to do so (e.g. using NOT MATERIALIZED on a wCTE) -- Andrew (irc:RhodiumToad)