Re: System views for versions reporting - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: System views for versions reporting
Date
Msg-id 588dcd4f-2c3e-4eb4-ad38-e2edc9adf2d3@eisentraut.org
Whole thread Raw
Responses Re: System views for versions reporting
List pgsql-hackers
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 ...)



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Proposal to Enable/Disable Index using ALTER INDEX
Next
From: Robert Haas
Date:
Subject: Re: Proposal to Enable/Disable Index using ALTER INDEX