From 07cf403a0ad829059890fa5790894863cd1ef83d Mon Sep 17 00:00:00 2001
From: Christoph Berg <myon@debian.org>
Date: Mon, 13 Feb 2023 16:24:38 +0100
Subject: [PATCH] debian/maintscripts-functions: Accept 2char-suffix on server
 package names

---
 debian/maintscripts-functions | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/maintscripts-functions b/debian/maintscripts-functions
index 8f070bb9..3f8f5538 100644
--- a/debian/maintscripts-functions
+++ b/debian/maintscripts-functions
@@ -245,7 +245,7 @@ postinst_check_catversion()
 # start debconf if we are in the server's postinst (can't run from a function)
 if [ "${DPKG_MAINTSCRIPT_NAME:-}" = "postinst" ] && [ "$1" = "configure" ]; then
     case $DPKG_MAINTSCRIPT_PACKAGE in
-        postgresql-[89].?|postgresql-[1-9]?)
+        postgresql-[89].?|postgresql-[1-9]?|postgresql-[1-9]???) # -9.6 -15 -15ee
             . /usr/share/debconf/confmodule
             ;;
     esac
-- 
GitLab