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 1sxTwI-00AO71-4g for pgsql-hackers@arkaria.postgresql.org; Sun, 06 Oct 2024 16:16:58 +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 1sxTwG-00GUqJ-Na for pgsql-hackers@arkaria.postgresql.org; Sun, 06 Oct 2024 16:16:56 +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 1sxTwG-00GUpp-Do for pgsql-hackers@lists.postgresql.org; Sun, 06 Oct 2024 16:16:56 +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 1sxTwA-002obJ-32 for pgsql-hackers@postgresql.org; Sun, 06 Oct 2024 16:16:55 +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 496GGlXx1350454; Sun, 6 Oct 2024 12:16:47 -0400 From: Tom Lane To: Joe Conway cc: Dmitry Dolgov <9erthalion6@gmail.com>, pgsql-hackers@postgresql.org Subject: Re: System views for versions reporting In-reply-to: References: Comments: In-reply-to Joe Conway message dated "Sun, 06 Oct 2024 12:01:29 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1350452.1728231407.1@sss.pgh.pa.us> Date: Sun, 06 Oct 2024 12:16:47 -0400 Message-ID: <1350453.1728231407@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Joe Conway writes: > I think it would be nice to include a sha256 hash (or something similar) > of the libraries as well, so that they can be checked against known good > values. That seems well outside the charter of this patch. Also, how would we even get that information? A typical application doesn't know exactly what libraries it's linked with or where they came from on the filesystem. Maybe one could find that out with sufficient platform-specific hackery, but I don't believe we could do it portably. regards, tom lane