Guy Burgess <guy@xxxxxxxxxxxxx> writes: > I see there was some discussion last year about removing the CTE > optimization fence (e.g. > http://www.postgresql-archive.org/CTE-inlining-td5958992.html) but can't > find anything more recent. Does anyone know if this is still under > consideration? Nothing's actually happened since then ... it's still under consideration, but we have to settle on a way of controlling it. regards, tom lane