Re: Append to a GUC parameter ?

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Append to a GUC parameter ?
Date: 2014-08-05 22:03:01
Message-ID: 20140805220300.GC9388@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:
> On Tue, Aug 5, 2014 at 12:52:51PM -0700, Josh Berkus wrote:
> > On 08/05/2014 11:12 AM, Jerry Sievers wrote:
> > > shared_preload_libraries += auto_explain
> > >
> > > Would do the trick.
> > >
> > > I've never heard this mentioned before so presume not many have
> > > contemplated this.
> >
> > It's been discussed.
> >
> > However, other than shared_preload_libraries, I can't think of a GUC
> > which would benefit from this. Can you?
>
> search_path?

Almost anything that's marked GUC_LIST_INPUT. A quick grep shows some
variables for which it doesn't make sense, such as DateStyle, and others
for which it would, such as temp_tablespaces, synchronous_standby_names,
listen_addresses, and the various preload_libraries params. Not sure
about log_destination.

I think this merits a new GUC flag, say GUC_LIST_ADDITIVE.

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Janes 2014-08-05 22:05:54 Re: Fixed redundant i18n strings in json
Previous Message Alvaro Herrera 2014-08-05 21:53:41 Re: add modulo (%) operator to pgbench