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 1t13RH-00EUyd-0T for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Oct 2024 12:47:43 +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 1t13RE-002vxj-Dz for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Oct 2024 12:47:40 +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 1t13RE-002vxa-4P for pgsql-hackers@lists.postgresql.org; Wed, 16 Oct 2024 12:47:40 +0000 Received: from fhigh-a6-smtp.messagingengine.com ([103.168.172.157]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t13RB-001BJP-Vo for pgsql-hackers@postgresql.org; Wed, 16 Oct 2024 12:47:39 +0000 Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfhigh.phl.internal (Postfix) with ESMTP id 477A01140165; Wed, 16 Oct 2024 08:47:37 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Wed, 16 Oct 2024 08:47:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1729082857; x=1729169257; bh=IaZuGjcthzDj82MuBIoA9Z80H4tXG0D1Eh7U8S2y5lU=; b= AnzJ5BwVeh8weUWu7iBR+12gDZz/MJ+uv+NK0HX3v99ow+R5UvcgoQNwrSFtLgcM LMj5F6nEMgEg6GSlraEKYOFwlepytjWyb+M8O0h2ga8Pzu26R3KtDuEMWmeEggiz G1/HKx8WFzS5HaQ0aS5ROOZgmrI4NOhG4WRu3uzQEhI86Z22K2TuHEGdAn16056C ER0Onbc4tZTOuQJVoqkSJsXFuIQNS253m6QAPsR81jPMoGi9s/CdbeCw9tbj17u6 x9mVwRsdN9xQAkSGeYjz9OSWHvc2ZEsNcNhTuijQx7aYLVcElpxDEJhpqmKa/ADq HMx1leTKMM3ezsDh9A0jng== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1729082857; x= 1729169257; bh=IaZuGjcthzDj82MuBIoA9Z80H4tXG0D1Eh7U8S2y5lU=; b=k Q0CLqjgoK6GvSeNSqyr4G9O4Sy18hgIy3euKwsuFc1TU2RPswj7HnXoWAJgn8Dss vzIhHA5FfDyGF+LH2inB3c/vwYhUUS6xI+nPXgrjEF4s0Sq+vtdNSreGkZ+AN0o4 DTf3q3wagBwU+wANPUOANwOUuyJIk7DDiw3EW+t0G+zIXBmBpTyI8U0X/ckk2qe7 szmz2G1lbsS4+gobtcAu2p1ufQpfCkbPdTq1TO08BUS9qWz7f4DHA6Vib417YBbF Ldn/82CYHfGVkbqPzK+9PL2ZvTV3m4AJE8CJLguerRh1eecLbmK6qK8p/tN8ReWJ Xh7EtGav+wMbaUkvcOaiQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdegledgheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfg fuvfhfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpefrvghtvghrucfgihhsvghnthhr rghuthcuoehpvghtvghrsegvihhsvghnthhrrghuthdrohhrgheqnecuggftrfgrthhtvg hrnhepheeivdfhuefhueeggfefheegjedtveeuhfethfeufedvudfgtdeuhefgfeduhfff necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvth gvrhesvghishgvnhhtrhgruhhtrdhorhhgpdhnsggprhgtphhtthhopedvpdhmohguvgep shhmthhpohhuthdprhgtphhtthhopeelvghrthhhrghlihhonheisehgmhgrihhlrdgtoh hmpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrshesphhoshhtghhrvghsqhhlrdho rhhg X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 16 Oct 2024 08:47:36 -0400 (EDT) Message-ID: <588dcd4f-2c3e-4eb4-ad38-e2edc9adf2d3@eisentraut.org> Date: Wed, 16 Oct 2024 14:47:34 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: System views for versions reporting To: Dmitry Dolgov <9erthalion6@gmail.com>, pgsql-hackers@postgresql.org References: Content-Language: en-US From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 06.10.24 17:36, Dmitry Dolgov wrote: > Based on the feedback in [1], here is my attempt at implementing system > views for versions reporting. It adds pg_system_versions for showing > things like core version, compiler, LLVM, etc, and pg_system_libraries > for showing linked shared objects. Is a system view the right interface? For example, in pgbouncer we just added it to the version output: $ pgbouncer --version PgBouncer 1.18.0 libevent 2.1.12-stable adns: c-ares 1.19.0 tls: OpenSSL 3.3.2 3 Sep 2024 That way, you can get this information without having to start a server instance. (Maybe you can't start a server instance because it just crashed because of some library version issue ...)