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

From Chapman Flack
Subject Re: list append syntax for postgresql.conf
Date
Msg-id 5d7f20e3-aa67-cf7c-2996-0f2a58250ee1@anastigmatix.net
Whole thread Raw
In response to Re: list append syntax for postgresql.conf  (Joe Conway <mail@joeconway.com>)
List pgsql-hackers
On 2/20/19 10:54 AM, Joe Conway wrote:
>>     shared_preload_libraries += 'pg_stat_statements'
> 
> I like the idea, but presume it would apply to any GUC list, not just
> shared_preload_libraries?

It would be nice if there were some way for extensions to declare
GUC lists (the very thing that recently became explicitly unsupported).

The difficulty seems to be that a GUC may be assigned before the
extension has been loaded to determine whether list syntax should apply.

Could a change like this improve that situation too, perhaps by
deciding that += syntax /implies/ that an as-yet-undeclared GUC is
to be of list form (which could then be checked when the extension
declares the GUC)?

-Chap


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: propagating replica identity to partitions
Next
From: Tom Lane
Date:
Subject: Re: Row Level Security − leakproof-ness and performance implications