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 1kMAv4-0007Ny-Te for pgsql-general@arkaria.postgresql.org; Sat, 26 Sep 2020 14:11:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kMAv3-0008R9-SG for pgsql-general@arkaria.postgresql.org; Sat, 26 Sep 2020 14:11:21 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kMAv3-0008R1-K9 for pgsql-general@lists.postgresql.org; Sat, 26 Sep 2020 14:11:21 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kMAux-0006Hw-FL for pgsql-general@lists.postgresql.org; Sat, 26 Sep 2020 14:11:20 +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 08QEBA4w1990204; Sat, 26 Sep 2020 10:11:10 -0400 From: Tom Lane To: Julien Rouhaud cc: "Daniel Westermann (DWE)" , Michael Paquier , "pgsql-general@lists.postgresql.org" Subject: Re: PG 13 trusted extensions and pg_available_extensions In-reply-to: References: <20200924025826.GF7405@paquier.xyz> Comments: In-reply-to Julien Rouhaud message dated "Sat, 26 Sep 2020 18:06:34 +0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1990202.1601129470.1@sss.pgh.pa.us> Date: Sat, 26 Sep 2020 10:11:10 -0400 Message-ID: <1990203.1601129470@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Julien Rouhaud writes: > So, apparently pg_available_extension_versions already had those > fields so all the required infrastructure was already there. I just > added the exact same fields to pg_available_extensions, see attached > patch. The reason that pg_available_extensions has only the fields it has is that these other values are potentially extension-version-dependent. I do not think we can accept this patch. (Strictly speaking, the "comment" might be version-specific too, but there's less chance of printing a critically misleading value there.) regards, tom lane