postgresql-common: do not call postinst_check_catversion() if create_main_cluster = no

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: pgsql-pkg-debian(at)postgresql(dot)org
Subject: postgresql-common: do not call postinst_check_catversion() if create_main_cluster = no
Date: 2023-10-19 18:03:29
Message-ID: ZTFvcahuDQGSjkE+@pryzbyj2023
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian

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

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message apt.postgresql.org Repository Update 2023-10-24 12:34:07 jsquery updated to version 1.2-1.pgdg+1
Previous Message Andrew Kane 2023-10-19 16:51:13 Re: postgresql-server-dev-17 missing utils/wait_event_types.h header