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

From David G. Johnston
Subject Re: list append syntax for postgresql.conf
Date
Msg-id CAKFQuwZVgykzf+Stvt+gYOx4PYBtNWKOFLQi3hHPcVteOmMxkw@mail.gmail.com
Whole thread Raw
In response to list append syntax for postgresql.conf  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
On Wednesday, February 20, 2019, Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote:
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 would rather just have the behavior for that variable “append mode”, period.  Maybe do it generally for all multi-value variables.  It would be like “add only” permissions - if you don’t want something loaded it cannot be specified ever, overwrite is not allowed.  Get rid of any order-of-operations concerns.

David J.

pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: Re: list append syntax for postgresql.conf
Next
From: Tom Lane
Date:
Subject: Re: Delay locking partitions during INSERT and UPDATE