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 1pZd9a-0008VV-Vq for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Mar 2023 19:39:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pZd9Z-0005cD-SI for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Mar 2023 19:39:17 +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 1pZd9Z-0005c0-It for pgsql-hackers@lists.postgresql.org; Tue, 07 Mar 2023 19:39:17 +0000 Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pZd9W-0001lZ-JZ for pgsql-hackers@lists.postgresql.org; Tue, 07 Mar 2023 19:39:17 +0000 Received: by mail-qt1-x836.google.com with SMTP id l13so15707131qtv.3 for ; Tue, 07 Mar 2023 11:39:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pcorp-us.20210112.gappssmtp.com; s=20210112; t=1678217953; 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=Fworb4u3Nmc9EUdtq54TRc9U2ka/NYpfh4IifkJelZY=; b=af1HTr7K3yMDhhouARDukK4cH1EBnja9T0aZBHK4YcnH2H2Yn31wqBK2zXcqcWg4QK OFxMCABLoggRhz0qqPhVsDTiL5DoGLT1KfXrJXKXec0c1Gs964l4Q1TwmNPpppPU8lKn KKLZyLKjraDa/h2Yhi9SfgqL5Zisc7jl1n8LnfpYheNKrI8D7p/Zl29bC4214MVQ9PSW /IIfx25vyQfbcBagp3Q/kII3aGII0p8f1DfvR9Un+HdY7p+vTRfF64IYrm4CBBCxpGWf lCcchMm7I8h9NYbfc86Ff5sMQ1Jpe27SHJ1sNrem8lEKtf8YsXuJ+yR0clw9MwlshBQX dTDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678217953; 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=Fworb4u3Nmc9EUdtq54TRc9U2ka/NYpfh4IifkJelZY=; b=D4Is21mwiUdicgnwIW7e0L8HSuxVVlvNeVMVs4UGTXGOd5sStAe+Nq5ZBbt0WtTInC FpuSqAE8MCck+VsQKTnmY2lNdYR0n8c8hxXv/b84/Sx4EPudHiRjB0aGnSbBROqsWP8d lmbruyAlNDpe6yIDW0HxvB3LrgdJtIj+UMIzREs3REOG1fyQqnbdZWFmmbr90OmG/DRB 67ItNQ883cg2ibr61mML9gt5KGpjum4j5vSEhaZrEByEJrAfevGt3erwC9eUmnMG0nAE VLCyV7q09Kj9tarKUwONx4lwMcYx4Gez7vTzuBvynEdOHNEq3HCTkpNGdiyZl7w2uKvV gcgw== X-Gm-Message-State: AO0yUKXQtI8cqHem1PIUsAl5NxQRYBov4+kfHnlMrQ603CvZdsX+poSr G+XM82qLB9ieTFRjgzRIQvakx4TZ/Uvmr3z1tY22tA== X-Google-Smtp-Source: AK7set/HnoFAnBDrSiqUTu43x1RK++b5xhqr07HNsQQ8JcgSag17y6b/DyY8HjG1BiYrD2Ts2Schpw== X-Received: by 2002:ac8:5bd2:0:b0:3b9:8885:296f with SMTP id b18-20020ac85bd2000000b003b98885296fmr25853770qtb.24.1678217952715; Tue, 07 Mar 2023 11:39:12 -0800 (PST) Received: from F (50-78-240-110-static.hfc.comcastbusiness.net. [50.78.240.110]) by smtp.gmail.com with ESMTPSA id m19-20020a05622a055300b003b2957fb45bsm10387949qtx.8.2023.03.07.11.39.12 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Mar 2023 11:39:12 -0800 (PST) From: "Regina Obe" To: "'Tom Lane'" , "'Robert Haas'" Cc: "'Sandro Santilli'" , "'Regina Obe'" , References: <20221117095734.igldlk6kngr6ogim@c19> <166914379479.1121.7549798686571352890.pgcf@coridan.postgresql.org> <55512.1673304709@sss.pgh.pa.us> <20230110205259.htcuhg3t7shd367d@c19> <387183.1673394631@sss.pgh.pa.us> <4025573.1678216387@sss.pgh.pa.us> In-Reply-To: <4025573.1678216387@sss.pgh.pa.us> Subject: RE: [PATCH] Support % wildcard in extension upgrade filenames Date: Tue, 7 Mar 2023 14:39:07 -0500 Message-ID: <000d01d9512c$7c3c2e70$74b48b50$@pcorp.us> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQGYmaaUCwtlrmE55CHyCSUXu9VHkgKopfE4AVtxnv8DArAuyQGehsdEA0I4l/UBweK/cwF/FZ4frvffErA= Content-Language: en-us List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > I'm not unsympathetic to the idea of trying to support multiple = upgrade paths > in one script. I just don't like this particular design for that, = because it > requires the extension author to make promises that nobody is actually = going > to deliver on. >=20 > regards, tom lane How about the idea I mentioned, of we revise the patch to read versioned = upgrades from the control file rather than relying on said file to exist. https://www.postgresql.org/message-id/000201d92572%247dcd8260%2479688720%= 24%40pcorp.us Even better, we have an additional control file, something like postgis--paths.control That has separate lines to itemize those paths. It would be nice if we = could allow wild-cards in that, but I could live without that if we can = stop shipping 300 empty files. Thanks, Regina