Re: System views for versions reporting

Dmitry Dolgov <9erthalion6@gmail.com>

From: Dmitry Dolgov <9erthalion6@gmail.com>
To: Joe Conway <mail@joeconway.com>
Cc: pgsql-hackers@postgresql.org
Date: 2024-10-19T17:31:56Z
Lists: pgsql-hackers

Attachments

> On Mon, Oct 07, 2024 at 11:26:41AM GMT, Dmitry Dolgov wrote:
> > On Sun, Oct 06, 2024 at 12:01:29PM GMT, Joe Conway wrote:
> > I'm not sure why ICU is "Compile Time" rather than "Run Time" when it is not
> > statically linked.
>
> It reports U_UNICODE_VERSION at compile time. It's not necessarily
> correct though, I can try to replace it with the runtime version. I
> think there was some ICU functionality (something like
> u_getUnicodeVersion), which is maybe a better fit.
>
> > Also, if we are going to include ICU here, shouldn't we
> > also include libc version?
>
> Yeah, why not. One of my goals here is to identify a balanced set of
> useful versions to report.

Here is how it would look like, I've added icu and glibc runtime
versions into the second patch.