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 1pmMKj-00056S-1O for pgsql-hackers@arkaria.postgresql.org; Tue, 11 Apr 2023 22:19:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pmMKh-00056O-Vj for pgsql-hackers@arkaria.postgresql.org; Tue, 11 Apr 2023 22:19:23 +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 1pmMKh-000567-JA for pgsql-hackers@lists.postgresql.org; Tue, 11 Apr 2023 22:19:23 +0000 Received: from mail-qv1-xf34.google.com ([2607:f8b0:4864:20::f34]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1pmMKa-002Jky-9H for pgsql-hackers@lists.postgresql.org; Tue, 11 Apr 2023 22:19:22 +0000 Received: by mail-qv1-xf34.google.com with SMTP id om8so7344033qvb.3 for ; Tue, 11 Apr 2023 15:19:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pcorp-us.20210112.gappssmtp.com; s=20210112; t=1681251554; x=1683843554; 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=B6C1vhk/Er0R+dVCqb3NCim3n/7vjtkiFz6uFpS+OIE=; b=xU8r+8C+PoJUoW0572UsNYZ2g5Rp5SojCs6w4RCbh1Doa5aTHYg3dyo/dXLJz3emXa gCMXtScqlEcsj9IEgjuAs/dadgbFcMY1Xgp0n642A+OYamMndiSf/0vzvEP3JcDPHF2q 64wnmwK9yHX4wkCih0gWjLMKIY1TS/xJ46o1Ztxr2FbepN+znWWE5pQkMhIkZZAvrWtU l6nBzpbq5foO+K9htiptt4fIjGpnOURg4dcHguX2IhpcQ9WsHDtU4ovNhtx+0aj5Hj4r bPGSbmRoUl3L0VaUzNzPrYVPTgZV2F9Xk8y1dxf21BsV40X0kMxVgg/jP2wUfKL8r+Lt SBdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681251554; x=1683843554; 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=B6C1vhk/Er0R+dVCqb3NCim3n/7vjtkiFz6uFpS+OIE=; b=yIbchv/si+Mu54DEzT7EGmMogzUpra0R2MfFhgUICOL/cTXMeF3YAEWWQXXauKvStm VIbU2o8E2uHsQxjSjq8RfNgMWoXuAs70nBFicC/TUU2KDXdNWf52PWkisdXADh+5sQuX ZDSjJ4RGlFaTto5NetFfzgR6tFiGnO6t3RH5hqeW7uPbL68f8bX2H7l07QpaDgee8ey3 bS1aPdg61DbiDR4mjjWoyeWXaZpBvzYMkScc+Us0U1uEL5DQeAIRkVS9LP7PMyKkXSTq Bi9jNm3DnNyxZwlieHX6+li9N2q7KOdzTQmwhIJgNlXH1pN8mU1pvCadtneqKbXhxx4z QFtQ== X-Gm-Message-State: AAQBX9efYQtxQGLHZn+0ZmG3OurqB5/O5V2gTWKtyrmTIpuQ8wD81mxU MXbvlrAU0TztI6P/G/3JDizAMpnDEhlN7z19ovQ= X-Google-Smtp-Source: AKy350bji7uDwj0y3pHjRUKcTTI6/gX2khbemm3dZd8GSx3M9R2uEtZdL17PwRTtYsnUb/Pwszs0uA== X-Received: by 2002:ad4:5ba1:0:b0:5c8:f391:9442 with SMTP id 1-20020ad45ba1000000b005c8f3919442mr22607772qvq.18.1681251554624; Tue, 11 Apr 2023 15:19:14 -0700 (PDT) Received: from F (50-78-240-110-static.hfc.comcastbusiness.net. [50.78.240.110]) by smtp.gmail.com with ESMTPSA id w17-20020a0562140b3100b005dd8b934572sm2620438qvj.10.2023.04.11.15.19.13 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Apr 2023 15:19:14 -0700 (PDT) From: "Regina Obe" To: Cc: "'Yurii Rashkovskii'" , "'Tom Lane'" , "'Regina Obe'" , References: <20221117095734.igldlk6kngr6ogim@c19> <166914379479.1121.7549798686571352890.pgcf@coridan.postgresql.org> <55512.1673304709@sss.pgh.pa.us> <20230409204629.sf4fptx672iehcau@c19> <000501d96c23$0f05bdf0$2d1139d0$@pcorp.us> <20230411184823.s3cctaf63qvfeqlj@c19> <006201d96cb5$3d23b150$b76b13f0$@pcorp.us> <20230411212737.phtzffycglbdhmpx@c19> In-Reply-To: <20230411212737.phtzffycglbdhmpx@c19> Subject: RE: [PATCH] Support % wildcard in extension upgrade filenames Date: Tue, 11 Apr 2023 18:19:12 -0400 Message-ID: <007901d96cc3$a543b240$efcb16c0$@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: AQGYmaaUCwtlrmE55CHyCSUXu9VHkgKopfE4AVtxnv8DArAuyQGfbhARAm8A8U4CpUA3zwGDW9/EAvd7mHsCV9qbi68D52Pg Content-Language: en-us List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > Personally I don't see the benefit of 1 big file vs. many 0-length files to justify > the cost (time and complexity) of a PostgreSQL change, with the > corresponding cost of making use of this new functionality based on > PostgreSQL version. > From a packaging stand-point 1 big file is better than tons of 0-length files. Fewer files to uninstall and to double check when testing. As to the added complexity agree it's more but in my mind worth it if we could get rid of this mountain of files. But my vote would be the wild-card solution as I think it would serve more than just postgis need. Any project that rarely does anything but add, remove, or modify functions doesn't really need multiple upgrade scripts and I think quite a few extensions fall in that boat. > We'd still have the problem of missing upgrade paths unless we release a new > version of PostGIS even if it's ONLY for the sake of updating that 1 big file (or > adding a new file, in the current situation). > > --strk; I think we always have more releases with newer stable versions than older stable versions. I can't remember a case when we had this ONLY issue. If there is one fix in an older stable, version we usually wait for several more before bothering with a release and then all the stables are released around the same time. So I don't see the ONLY being a real problem.