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 1tLY68-00FUAr-5q for pgsql-hackers@arkaria.postgresql.org; Thu, 12 Dec 2024 01:34:36 +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 1tLY65-004t9W-9D for pgsql-hackers@arkaria.postgresql.org; Thu, 12 Dec 2024 01:34:34 +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 1tLY64-004t9O-VO for pgsql-hackers@lists.postgresql.org; Thu, 12 Dec 2024 01:34:34 +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.94.2) (envelope-from ) id 1tLY63-002MIh-Nu for pgsql-hackers@postgresql.org; Thu, 12 Dec 2024 01:34:33 +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 4BC1YSv0556166; Wed, 11 Dec 2024 20:34:28 -0500 From: Tom Lane To: "Euler Taveira" cc: "Andres Freund" , "Andrei Lepikhov" , pgsql-hackers Subject: Re: Add Postgres module info In-reply-to: References: <506788.1733941263@sss.pgh.pa.us> <2qdclwljzvw5abfvo4porr3ehox32icrbtfjaum327ruxts6qm@udexcbweewpq> Comments: In-reply-to "Euler Taveira" message dated "Wed, 11 Dec 2024 21:49:00 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <556164.1733967268.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 11 Dec 2024 20:34:28 -0500 Message-ID: <556165.1733967268@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Euler Taveira" writes: > +1 for the general idea. I received some reports like [1] related to wal= 2json > that people wants to obtain the output plugin version. Since it is not i= nstalled > via CREATE EXTENSION, it is not possible to detect what version is insta= lled, > hence, some tools cannot have some logic to probe the module version. In= a > managed environment, it is hard to figure out the exact version for > non-CREATE-EXTENSION modules, unless it is explicitly informed by the ve= ndor. What would you foresee as the SQL API for inspecting a module that's not tied to an extension? regards, tom lane