Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uAA3i-00BYEY-Vi for pgsql-general@arkaria.postgresql.org; Wed, 30 Apr 2025 16:13:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uAA2i-00ErFv-HI for pgsql-general@arkaria.postgresql.org; Wed, 30 Apr 2025 16:12:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uAA2i-00ErFn-16 for pgsql-general@lists.postgresql.org; Wed, 30 Apr 2025 16:12:17 +0000 Received: from mail-il1-x12c.google.com ([2607:f8b0:4864:20::12c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uAA2g-000NHf-2r for pgsql-general@lists.postgresql.org; Wed, 30 Apr 2025 16:12:16 +0000 Received: by mail-il1-x12c.google.com with SMTP id e9e14a558f8ab-3d96836c1bcso2765ab.3 for ; Wed, 30 Apr 2025 09:12:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1746029534; x=1746634334; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=pa/Y/xiQlP7XvwptEFWu93CjDXoIMrq3MtEtHNgvMjk=; b=BXqIlFem9AArdkT4vNb/1+CFbtLJp0jz9unBTL+fBnLDIzNw/DoO5sXyBLQ6VXVlwp 17AiG8bxKm9UINKmuTKaVUAllnGQ08sUOTJvG+X0fi+wuYQTMABlIaSxH6zzegSmmN5I 7kAQbZ4IxbaUtZcrX0x+CU3RlO1wHnc3o5lnS9DTihjB+m5xgQghZIzrUBVhU9uRxYBb nXq4gcjx1ukzIfKYmfzawj6bITLPlv4Ej0TeIV43W4mnhrabzyTjeCDbP7mIRRuCUfp5 MUXLKhlVoxVzBAp6cwfe/wl0VPg0GsHxi3utV33dwe80CUqe6TbXmlM8fIE0c45SWYiZ wnpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746029534; x=1746634334; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pa/Y/xiQlP7XvwptEFWu93CjDXoIMrq3MtEtHNgvMjk=; b=baU2M1MqNuVChb0N+qiK5TX6dGM7p68hTkETOwMEmWp+VNFoeBMH83JiCa6JyALPaX LUkTHyEsWN1Gkf55jFwp7mQlhKgmvmfp9X2V8X781iKvR4qntUj5YV+8Wf8pAlqA+HES /ogmJrq36VZDFqL4SWWhenp1zbCBdjuCBG7mFxgE5o8c4M0DiDwLcAx17Gj/QRSG3qq5 dvseKKRQwve9O1ga+Qsv5qYQRxps2u+s8TX55raAA4WdiSt3thDo6f6gK0NUp60/vnps smSDnJu7TLUPrm9gxlhIHtMeFXjotLM/ncgmFwgukjDxs5fcmGQaLQUPnccJ4FyJvupH upBw== X-Gm-Message-State: AOJu0Yz9XKqOpu1Jqc6DVejVqvDy0E8fffky/meIS3vO5v5aBtAL3VtN 7OKcqOszCVS2nr5lT2zE9qnS/hhYMBbMKmxVGAvBPQUdi2mbdhf9XRU2FbuKHyZXQ02PgK30QHx ip64E63OvQ0rIAXwhXUuMCMfpdpk= X-Gm-Gg: ASbGncsNbYsKD9c/DAqwTatvz/rO9M8WBnc4dWZcxbTqFCTN5odg2SVgGaAS5dzTRTc Vh2lvCXydtAVIXbGHKoSv3mczPISa0PvOfCnVd9sC3+bxy2EtjZBY+Xg5C1jMzqzunGFWxLLCNy g8vtazY2tC0DQwtO8+ZqnTqyjuzRLA3YYPPwssub/03RgKKsfbMqxr8Y4Q X-Google-Smtp-Source: AGHT+IGXNE4rAy7JdxQxKjRcQEUYm2xvtJ+2nokW7tTWZMmNwFhAZfcE9RjYFqDmFiEfGqPfmeyK2fHu8JthF/IZ0S4= X-Received: by 2002:a05:6e02:3186:b0:3d8:1ea5:26d1 with SMTP id e9e14a558f8ab-3d967718901mr46989315ab.18.1746029534048; Wed, 30 Apr 2025 09:12:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Greg Sabino Mullane Date: Wed, 30 Apr 2025 12:11:37 -0400 X-Gm-Features: ATxdqUHiYQ7xZY5lvI_ViPQ4pn40SpS4Y-UNdeZtQjmDDxaD707OjAm8F-Xa5PA Message-ID: Subject: Re: alter system appending to a value To: Luca Ferrari Cc: pgsql-general Content-Type: multipart/alternative; boundary="00000000000024f7d30634012e41" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000024f7d30634012e41 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Apr 30, 2025 at 7:15=E2=80=AFAM Luca Ferrari = 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 -- Crunchy Data - https://www.crunchydata.com Enterprise Postgres Software Products & Tech Support --00000000000024f7d30634012e41 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Enterprise Postgres Software Products & Tech Supp= ort

--00000000000024f7d30634012e41--