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

From Greg Sabino Mullane
Subject Re: alter system appending to a value
Date
Msg-id CAKAnmmJPnZHvg-h_Lybm6CJtivH8oi=Qp=W94xBXitW1hftEiw@mail.gmail.com
Whole thread Raw
In response to alter system appending to a value  (Luca Ferrari <fluca1978@gmail.com>)
List pgsql-general
On Wed, Apr 30, 2025 at 7:15 AM Luca Ferrari <fluca1978@gmail.com> wrote:
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.

Ansible is good for bringing your systems to a known consistent state, so your best bet would be to maintain the list of libraries inside Ansible and then simply apply it. If you really don't know what might be in the database, I would have Ansible read the current value, build the new one if the desired library is not there, and apply the new value.

Cheers,
Greg

--
Enterprise Postgres Software Products & Tech Support

pgsql-general by date:

Previous
From: Markus Demleitner
Date:
Subject: Index not used in certain nested views but not in others
Next
From: Ron Johnson
Date:
Subject: Re: Index not used in certain nested views but not in others