alter system appending to a value - Mailing list pgsql-general

From Luca Ferrari
Subject alter system appending to a value
Date
Msg-id CAKoxK+7UEeJhk_hbv1_3KwN1SD8O6ByU-cCr55mFDkErRxZcow@mail.gmail.com
Whole thread Raw
Responses Re: alter system appending to a value
Re: alter system appending to a value
List pgsql-general
Hi all,
as trivial as it sounds, is there a smart way to use ALTER SYSTEM to
append to a value?
Something like: ALTER SYSTEM shared_preloaded_libraries =
current_setting( 'shared_preloaded_libraries' ) || ',foo';

Rationale: I'm using ansible to configure, thru different steps,
PostgreSQL instances and I would like to have every part to append its
configuration on the previous one.

Thanks,
Luca



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: DROP ROLE as SUPERUSER
Next
From: Victor Yegorov
Date:
Subject: Re: alter system appending to a value