Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr> writes:
> I think it would fit quite well within our extending of the WITH syntax.
> WITH
> work_mem = '1GB',
> timezone = 'Europe/Amsterdam',
> foo AS (
> SELECT something
> )
> SELECT toplevel FROM foo;
That looks pretty non-future-proof to me. WITH is a SQL-standard
syntax, it's not an extension that we control.
regards, tom lane