Skip site navigation (1) Skip section navigation (2)

Re: proposal: set GUC variables for single query

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jan Urbański <wulczer(at)wulczer(dot)org>
Cc: Postgres - Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal: set GUC variables for single query
Date: 2011-10-16 15:49:48
Message-ID: 15599.1318780188@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
=?UTF-8?B?SmFuIFVyYmHFhHNraQ==?= <wulczer(at)wulczer(dot)org> writes:
> this idea has cropped up last PGCon - the ability to set GUC variables
> for the duration of a single query. It would work by setting the GUCs
> for the duration of the query and setting them back to what they were
> after it has terminated.

Doesn't SET LOCAL cover this use-case pretty well already?

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Florian PflugDate: 2011-10-16 15:50:28
Subject: Re: LIMITing number of results in a VIEW with global variables
Previous:From: Jan UrbańskiDate: 2011-10-16 15:44:57
Subject: proposal: set GUC variables for single query

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group