Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tPosE-00FYDc-EJ for pgsql-hackers@arkaria.postgresql.org; Mon, 23 Dec 2024 20:17:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tPosD-00FbK3-QU for pgsql-hackers@arkaria.postgresql.org; Mon, 23 Dec 2024 20:17:53 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tPosD-00FbJv-GJ for pgsql-hackers@lists.postgresql.org; Mon, 23 Dec 2024 20:17:53 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tPosB-000EUC-2o for pgsql-hackers@postgresql.org; Mon, 23 Dec 2024 20:17:52 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 4BNKHl1T1480075; Mon, 23 Dec 2024 15:17:47 -0500 From: Tom Lane To: "David E. Wheeler" cc: Euler Taveira , Andres Freund , Andrei Lepikhov , pgsql-hackers Subject: Re: Add Postgres module info In-reply-to: <51416962-9118-41D7-B527-F99D81CF2B57@justatheory.com> References: <506788.1733941263@sss.pgh.pa.us> <2qdclwljzvw5abfvo4porr3ehox32icrbtfjaum327ruxts6qm@udexcbweewpq> <51416962-9118-41D7-B527-F99D81CF2B57@justatheory.com> Comments: In-reply-to "David E. Wheeler" message dated "Mon, 23 Dec 2024 14:23:40 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1480073.1734985067.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 23 Dec 2024 15:17:47 -0500 Message-ID: <1480074.1734985067@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "David E. Wheeler" writes: > Not a mutually-exclusive proposal, of course; I think it makes sense to = have metadata included in the binary itself. Would be useful to compare ag= ainst what CREATE EXTENSION thinks is the version and raising an error or = warning when they diverge. How would that work for extensions where the C code is intentionally supporting multiple versions of the SQL objects? regards, tom lane