Re: How to set config param temporarily?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Kynn Jones <kynnjo(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to set config param temporarily?
Date: 2007-10-16 19:03:48
Message-ID: 20071016190348.GB13400@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Lanzarotta 2007-10-16 19:18:56 Re: Group By question
Previous Message jooy 2007-10-16 19:02:49 need help with rebuilding postgresql