Re: list append syntax for postgresql.conf - Mailing list pgsql-hackers

From Christoph Berg
Subject Re: list append syntax for postgresql.conf
Date
Msg-id 20190220153719.GB9206@msg.df7cb.de
Whole thread Raw
In response to list append syntax for postgresql.conf  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
Re: Peter Eisentraut 2019-02-20 <74af1f60-34af-633e-ee8a-310d40c741a7@2ndquadrant.com>
> Nowadays there are a number of methods for composing multiple
> postgresql.conf files for modularity.  But if you have a bunch of things
> you want to load via shared_preload_libraries, you have to put them all
> in one setting.  How about some kind of syntax for appending something
> to a list, like
> 
>     shared_preload_libraries += 'pg_stat_statements'

I've thought about that syntax myself in the past. It would be very
handy to be able to things like

/etc/postgresql/11/main/conf.d/pg_stat_statements.conf:
shared_preload_libraries += 'pg_stat_statements'
pg_stat_statements.track = all

(The current Debian packages already create and support conf.d/ in the
default configuration.)

+1.

Christoph


pgsql-hackers by date:

Previous
From: Euler Taveira
Date:
Subject: Re: list append syntax for postgresql.conf
Next
From: Robert Haas
Date:
Subject: Re: Delay locking partitions during INSERT and UPDATE