Re: proposal: set GUC variables for single query - Mailing list pgsql-hackers

From Tom Lane
Subject Re: proposal: set GUC variables for single query
Date
Msg-id 1591.1318796197@sss.pgh.pa.us
Whole thread Raw
In response to Re: proposal: set GUC variables for single query  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Responses Re: proposal: set GUC variables for single query
List pgsql-hackers
Dimitri Fontaine <dimitri@2ndQuadrant.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: (patch) regression diffs on collate.linux.utf8 test
Next
From: Dimitri Fontaine
Date:
Subject: Re: proposal: set GUC variables for single query