Re: How to set config param temporarily? - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: How to set config param temporarily?
Date
Msg-id 20071016190348.GB13400@alvh.no-ip.org
Whole thread Raw
In response to How to set config param temporarily?  ("Kynn Jones" <kynnjo@gmail.com>)
List pgsql-general
Kynn Jones escribió:
> I'd like to set some config parameter "temporarily"; i.e. so that the
> new setting is active, say, only during the execution of the next SQL
> statement.  This is the best I've come up with:

Did you try SET LOCAL?  It works per transaction rather than
per statement though.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-general by date:

Previous
From: jooy
Date:
Subject: need help with rebuilding postgresql
Next
From: Richard Huxton
Date:
Subject: Re: need help with rebuilding postgresql