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 1ouRN7-0005bm-SL for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Nov 2022 04:47:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ouRN5-0004H1-NY for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Nov 2022 04:46:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ouRN5-0004Go-Bw for pgsql-hackers@lists.postgresql.org; Mon, 14 Nov 2022 04:46:59 +0000 Received: from mail-qt1-x833.google.com ([2607:f8b0:4864:20::833]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ouRN0-0000NK-9d for pgsql-hackers@lists.postgresql.org; Mon, 14 Nov 2022 04:46:58 +0000 Received: by mail-qt1-x833.google.com with SMTP id e15so6222502qts.1 for ; Sun, 13 Nov 2022 20:46:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pcorp-us.20210112.gappssmtp.com; s=20210112; h=content-language:thread-index:content-transfer-encoding :mime-version:message-id:date:subject:in-reply-to:references:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=Yq1OAQDLpVfjMfD4wmQVUDeSSLAbO6gK5rMifMra74k=; b=2iyDWO7E3ZGhzR8m2PmRkD6tDHoyGU/x1ynn3Pbh5oIY5y5r+zxaWU7oisvpJ+XHoT wA3W/8iuPg0oSRTKzbZtVkl8H2yaSDXzeYcWNGDzSRpq82QxRWsFVv75iZOCqa/8lc8x 6E+cgI/w/qjG3q3Fo4ScGyIEMl6nTnfShjAGRa9mWL3qsje0EYKRWAJIn3/NfzgVeAuD +cz0QKwdSS36MTP0aCIFsDY9ZNupLPHERUp7gGBi3SAqHSpfoImXnjNVEkFgvUpI4XJM WU5EcNaw1tkPzcKthJH+w0NN2cOq9RBmth0+b4PEiLj7AkwKh6zrdGWZWFLB1OeqA3P7 N8ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-language:thread-index:content-transfer-encoding :mime-version:message-id:date:subject:in-reply-to:references:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Yq1OAQDLpVfjMfD4wmQVUDeSSLAbO6gK5rMifMra74k=; b=MwvdzSo/DB879wnJOSiQJyFzru5VZDw+wCFYY28kOPpTdub7Rr1qX85Yo37XQ3JgGg imEAA8p/7Iv5ujym4zznNJENearrXQqKAIDB6k22tKyV2MZKByjoFu4XyXbQ6apBMfmL RnLS0rIOYYnCaMxep3p5E17fRlUSosmEy8Lr3nOUCs1A+0Lw1sHhpxKhLqlF94Az2wCt 4cKVqpaM3C8/Z5dFGRLpzMaARI1M2cdkQW3XZ3y1/w5Ym0VYwsxeZI7UtsM8TUGiG9zO IhfsTjt4/YBdFtwNY73UPTH90cl/KO5Nlf2owXqDWNSLzGrBKmJSazl9YL60scgOTHil Jsxw== X-Gm-Message-State: ANoB5pkhYLKQ/dxBOICaUIDPaXjwxMb793naJcQo4Xc8wrpLvyJhBsl6 92vNtbBCzXSRinccwDXTXcZ2Vg== X-Google-Smtp-Source: AA0mqf5seVuck3Ou8a+rzNKi29aU5v/Ih6kI2o7DVq5ObRg0As5Kt9B33VArPvb+1QaV4KnWNsNh0A== X-Received: by 2002:ac8:4a04:0:b0:3a5:2fdd:2a58 with SMTP id x4-20020ac84a04000000b003a52fdd2a58mr10838118qtq.495.1668401212208; Sun, 13 Nov 2022 20:46:52 -0800 (PST) Received: from F (50-78-240-110-static.hfc.comcastbusiness.net. [50.78.240.110]) by smtp.gmail.com with ESMTPSA id bl12-20020a05620a1a8c00b006fae7e6204bsm5816046qkb.108.2022.11.13.20.46.51 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 13 Nov 2022 20:46:51 -0800 (PST) From: "Regina Obe" To: "'Christoph Berg'" , , Cc: "'Sandro Santilli'" , "'Laurenz Albe'" , "'Tom Lane'" , "'Paul Ramsey'" References: <001d01d87211$edbd5b50$c93811f0$@pcorp.us> In-Reply-To: Subject: RE: [PATCH] Support % wildcard in extension upgrade filenames Date: Sun, 13 Nov 2022 23:46:50 -0500 Message-ID: <000001d8f7e4$1c840d50$558c27f0$@pcorp.us> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQGYmaaUCwtlrmE55CHyCSUXu9VHkgJQLI/iAiPUhQ4CZFddqQJAUCuyAqHyhvWuYLOwEA== Content-Language: en-us List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > Re: Sandro Santilli > > I'm attaching an updated version of the patch. This time the patch is > > tested. Nothing changes unless the .control file for the subject > > extension doesn't have a "wildcard_upgrades = true" statement. > > > > When wildcard upgrades are enabled, a file with a "%" symbol as the > > "source" part of the upgrade path will match any version and > > Fwiw I believe wildcard_upgrades isn't necessary in the .control file. > If there are no % files, none would be used anyway, and if there are, it's clear > it's meant as wildcard since % won't appear in any remotely sane version > number. > > Christoph I also like the idea of skipping the wildcard_upgrades syntax. Then there is no need to have a conditional control file for PG 16 vs. older versions. Thanks, Regina