Re: Append to a GUC parameter ?

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Append to a GUC parameter ?
Date: 2014-08-06 02:18:08
Message-ID: 20140806021808.GH13302@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2014-08-06 02:19:52 Re: Append to a GUC parameter ?
Previous Message Bruce Momjian 2014-08-06 02:16:00 Re: Proposal: Incremental Backup