Re: Get version info - Mailing list pgsql-general

From rob stone
Subject Re: Get version info
Date
Msg-id dfac97e59f89dd130630ac22b39b6293efa06921.camel@tpg.com.au
Whole thread
In response to Get version info  (Igor Korot <ikorot01@gmail.com>)
Responses Re: Get version info
Re: Get version info
List pgsql-general
On Sun, 2026-07-05 at 01:32 -0500, Igor Korot wrote:
> Hi, ALL,
> Google recommends using pg-config.
>
> However, some distro prefer to use pkg-config and don't even include
> local configuration file.
>
> Is this file located everywhere and if not - how do I check it inside
> configure.ac?
>
> Thank you.
>


See chapter 9.27.11, not Mr. Google.

select version();

PostgreSQL 18.4 (Debian 18.4-1+b1) on x86_64-pc-linux-gnu, compiled by
x86_64-linux-gnu-gcc (Debian 15.3.0-1) 15.3.0, 64-bit
(1 row)





pgsql-general by date:

Previous
From: Igor Korot
Date:
Subject: Get version info
Next
From: Laurenz Albe
Date:
Subject: Re: last_analyze/last_vacuum in pg_stat_all_tables (PG 17.10)