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 1ptYDW-00068B-7T for pgsql-hackers@arkaria.postgresql.org; Mon, 01 May 2023 18:25:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ptYDU-000796-Rz for pgsql-hackers@arkaria.postgresql.org; Mon, 01 May 2023 18:25:40 +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 1ptYDU-00078w-GA for pgsql-hackers@lists.postgresql.org; Mon, 01 May 2023 18:25:40 +0000 Received: from mail-qv1-xf2b.google.com ([2607:f8b0:4864:20::f2b]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1ptYDR-006Fwc-Uk for pgsql-hackers@lists.postgresql.org; Mon, 01 May 2023 18:25:39 +0000 Received: by mail-qv1-xf2b.google.com with SMTP id 6a1803df08f44-61946c27e58so9883216d6.0 for ; Mon, 01 May 2023 11:25:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682965535; x=1685557535; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=bbu0PYenpbP60XfzNRJBQbls99NzfnxsovqK/wrK8Is=; b=CVXqLr5V9TD3xxe6vjrueEhcOn1/eINKcyojCc8+HiDSVS/SfcOLRyWCG8Nq3BMGJf WuoG0ug/4vUwlPHqmTzRnP8IhNgXSewQBrnJSJfSW629e97QRToDtKSk1+yDb2pKt+b9 5hAd9DuDWXIR/BxkGvokhMyAw7pfN5lW1B512jyxzMgJWrRs2t7qTYMYExW82uRiIago Qb5u9nDYitoFej507bZf7N9+tkKWCUaRmYUB9GG3jeyvvnvBbcwMYV17M9d0jz+auA+S HxlSshXCW2HcpvlBEbe3OVJ5NaVocng09n62H3rn5z3hctFvTA2tDqoZlV8o99xmoPHj jghg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682965535; x=1685557535; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bbu0PYenpbP60XfzNRJBQbls99NzfnxsovqK/wrK8Is=; b=CjVVAW0lnAzAIHLsWTEpgkbssK5xxMHrgd5DnKiASbXZJFn/aoDO+9LGewREMLIVKT jE3Np0T0UkeQYobaZiBfJDxVh/avrQv3CbYipg33piRG/DCmoiDwFGS+SV/uICZsGwFa fz6Tc5awtXLzGPAyWdQIR2s/nabRQ/TgJ8N4ZAoBUuacJWYG6t/evQ4/J9hWIBKL0Stg 8q8svznFOXzgZabAYSaWQi4zbTZ6D3RLjWYoQ7p8XJkZfxCCcGNsJHvyJmLsZqei7JnV zCSPOyePGek6ZbbXx0UkoWuYsFXkbBbfHrOy0w9bF3jZ6Qp64h/dsc7LfsoJmEZnjHKG GxPQ== X-Gm-Message-State: AC+VfDzIAL5VHafdbYHkVEADkI6Qf/hxLH4wwLE0QIYy3ulSPC2wZNJM psCo4NuizGtxb1xUmPDaqcs= X-Google-Smtp-Source: ACHHUZ4/zEtUE3HlqhxiyIHrXE5B1JiVHoBwiMc39k4dWEKqVOghvk++PJEyAncafybhoukJmLKnEg== X-Received: by 2002:a05:6214:27ce:b0:61b:5bcd:db59 with SMTP id ge14-20020a05621427ce00b0061b5bcddb59mr1120553qvb.34.1682965535525; Mon, 01 May 2023 11:25:35 -0700 (PDT) Received: from smtpclient.apple ([152.117.96.183]) by smtp.gmail.com with ESMTPSA id l17-20020a056214029100b005f6b32d3737sm8872422qvv.112.2023.05.01.11.25.34 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 May 2023 11:25:35 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\)) Subject: Re: [PATCH] Support % wildcard in extension upgrade filenames From: Eric Ridge In-Reply-To: Date: Mon, 1 May 2023 14:25:24 -0400 Cc: Regina Obe , strk@kbt.io, Tom Lane , Regina Obe , pgsql-hackers@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <86875FF7-0592-4F76-8CBA-8B5AE632F1B2@gmail.com> 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> <20230308122736.e2mx4e3paxbabcnw@c19> <20230313122210.r7mnwawjhfklcp7w@c19> <003201d955dc$7770af60$66520e20$@pcorp.us> To: Robert Haas X-Mailer: Apple Mail (2.3731.500.231) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On May 1, 2023, at 12:12 PM, Robert Haas = wrote: >=20 > On Fri, Apr 28, 2023 at 10:03=E2=80=AFAM Eric Ridge = wrote: >> ZomboDB has 137 releases over the past 8 years. >=20 > Dang. >=20 > This may be one of those cases where the slow pace of change for > extensions shipped with PostgreSQL gives those of us who are > developers for PostgreSQL itself a sort of tunnel vision. Could be I'm a terrible programmer too. Could be Elasticsearch is a = PITA to deal with. FWIW, outside of major ZDB releases, most of those have little-to-zero = schema changes. But that doesn't negate the fact each release needs its = own upgrade.sql script. I'm working on a point release right this moment = and it won't have any schema changes but it'll have an upgrade.sql = script. Maybe related, pgrx (formally pgx) has had 77 release since June 2020, = but that's mostly us just slowly trying to wrap Postgres internals in = Rust, bug fixing, and such. Getting support for a new major Postgres = release usually isn't *that* hard -- a day or two of work, depending on = how drastically y'all changed an internal API. `List` and = `FunctionCallInfo(Base)Data` come to mind as minor horrors for us, = hahaha. Rust at least makes it straightforward for us to have divergent = implementations and have the decisions solved at compile time. > The system > that we have in core works well for those extensions, which get a new > version at most once a year and typically much less often than that. > I'm not sure we'd be so sanguine about the status quo if we had 137 > releases out there. I don't lose sleep over it but it is a lot of bookkeeping. The nice = thing about Postgres' extension system is that we can do what we want = without regard to the project's release schedule. In general, y'all = nailed the extension system back in the day. I feel for the PostGIS folks as they've clearly got more, hmm, complete = Postgres version support than ZDB does, and I'd definitely want to = support anything that would make their lives easier. But I also don't = want to see something that pgrx users might want to adopt that might = turn out to be bad for them. I have a small list of things I'd love to see changed wrt extensions but = I'm just the idea guy and don't have much in the way of patches to = offer. I also have some radical ideas about annotating the sources = themselves, but I don't feel like lobbing a grenade today. eric=