Re: Append to a GUC parameter ? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Append to a GUC parameter ?
Date
Msg-id 20140806021808.GH13302@momjian.us
Whole thread Raw
In response to Re: Append to a GUC parameter ?  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
On Tue, Aug  5, 2014 at 06:36:01PM -0700, Josh Berkus wrote:
> On 08/05/2014 06:25 PM, Alvaro Herrera wrote:
> 
> > I'm not sold on += as the syntax to use.  It just needs to be something
> > different from =. 
> 
> Alternative is to use "+" in the value string:
> 
> shared_preload_libraries = '+auto_explain'
> 
> ... not sure that's better.
> 
> The alternative is to add an "append" keyword to everything, which
> strikes me as yucky.

I think you need _prefix_ and _suffix_ operators.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + Everyone has their own god. +



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Proposal: Incremental Backup
Next
From: Bruce Momjian
Date:
Subject: Re: Append to a GUC parameter ?