Re: Add llvm version into the version string

From: Dmitry Dolgov <9erthalion6(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Add llvm version into the version string
Date: 2024-09-24 08:39:45
Message-ID: 3eg6oy33jzczufdsk55eoioh7zu4e32vlsipckzyrawfihxsds@ldsenfvgp3l3
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On Mon, Sep 23, 2024 at 02:45:18PM GMT, Tom Lane wrote:
> Maybe another idea could be a new system view?
>
> => select * from pg_system_version;
> property | value
> ----------------------------------------
> core version | 18.1
> architecture | x86_64-pc-linux-gnu
> word size | 64 bit
> compiler | gcc (GCC) 12.5.0
> ICU version | 60.3
> LLVM version | 18.1.0
> ...
>
> Adding rows to a view over time seems way less likely to cause
> problems than messing with a string people probably have crufty
> parsing code for.

Agree, the idea with a new system view sounds interesting. I'll try to
experiment in this direction, thanks.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2024-09-24 08:50:32 Re: Index AM API cleanup
Previous Message btnakamurakoukil 2024-09-24 08:32:48 index_delete_sort: Unnecessary variable "low" is used in heapam.c