Re: list append syntax for postgresql.conf

From: Christoph Berg <myon(at)debian(dot)org>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: list append syntax for postgresql.conf
Date: 2019-02-20 15:37:19
Message-ID: 20190220153719.GB9206@msg.df7cb.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Re: Peter Eisentraut 2019-02-20 <74af1f60-34af-633e-ee8a-310d40c741a7(at)2ndquadrant(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2019-02-20 15:42:56 Re: Delay locking partitions during INSERT and UPDATE
Previous Message Euler Taveira 2019-02-20 15:35:33 Re: list append syntax for postgresql.conf