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 1qtXMv-00CnTI-PX for pgsql-pkg-debian@arkaria.postgresql.org; Thu, 19 Oct 2023 18:03:37 +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 1qtXMs-005Pre-GV for pgsql-pkg-debian@arkaria.postgresql.org; Thu, 19 Oct 2023 18:03:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qtXMs-005Pnp-7m for pgsql-pkg-debian@lists.postgresql.org; Thu, 19 Oct 2023 18:03:34 +0000 Received: from charmander.telsasoft.com ([50.244.222.1] helo=pryzbyj2023.telsasoft) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qtXMo-001aRY-TD for pgsql-pkg-debian@postgresql.org; Thu, 19 Oct 2023 18:03:34 +0000 Received: by pryzbyj2023.telsasoft (Postfix, from userid 1000) id 7560F10D79; Thu, 19 Oct 2023 13:03:29 -0500 (CDT) Date: Thu, 19 Oct 2023 13:03:29 -0500 From: Justin Pryzby To: pgsql-pkg-debian@postgresql.org Subject: postgresql-common: do not call postinst_check_catversion() if create_main_cluster = no Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, In /usr/share/postgresql-common/maintscripts-functions, configure_version() calls postinst_check_catversion() regardless of whether createcluster.conf says create_main_cluster = no I saw this after 1) initially installing postgres; then later 2) setting create_main_cluster=no and then (re)running initdb myself; and then, 3) updating to a daily snapshot (16.1-0.pgdg120+~20231019.0500.gcfa4eba). BTW, thanks for providing daily snapshots. -- Justin