Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jv8LX-0007c5-DG for pgsql-docs@arkaria.postgresql.org; Mon, 13 Jul 2020 23:58:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jv8LV-0002e4-VQ for pgsql-docs@arkaria.postgresql.org; Mon, 13 Jul 2020 23:58:53 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jv8LV-0002dx-Q0 for pgsql-docs@lists.postgresql.org; Mon, 13 Jul 2020 23:58:53 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jv8LS-00089O-Fq for pgsql-docs@postgresql.org; Mon, 13 Jul 2020 23:58:52 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1jv8LR-0002ok-6t; Mon, 13 Jul 2020 19:58:49 -0400 Date: Mon, 13 Jul 2020 19:58:49 -0400 From: Bruce Momjian To: Alvaro Herrera Cc: PostgreSQL-documentation Subject: ALTER SYSTEM between upgrades Message-ID: <20200713235849.GA32422@momjian.us> References: <20200707201821.GA24503@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200707201821.GA24503@alvherre.pgsql> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Tue, Jul 7, 2020 at 04:18:21PM -0400, Alvaro Herrera wrote: > On 2020-Jul-07, Amit Kapila wrote: > > > I don't think this is true. We seem to have introduced three new guc > > variables in a 9.3.3 minor release. > > Yeah, backporting GUCs is not a big deal. Sure, the GUC won't appear in > postgresql.conf files generated by initdb prior to the release that > introduces it. But users that need it can just edit their .confs and > add the appropriate line, or just do ALTER SYSTEM after the minor > upgrade. For people that don't need it, it would have a reasonable > default (probably work_mem, so that behavior doesn't change on the minor > upgrade). I am creating a new thread to discuss the question raised by Alvaro of how many ALTER SYSTEM settings are lost during major upgrades. Do we properly document that users should migrate their postgresql.conf _and_ postgresql.auto.conf files during major upgrades? I personally never thought of this until now. -- Bruce Momjian https://momjian.us EnterpriseDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee