public inbox for [email protected]  
help / color / mirror / Atom feed
From: Adrian Klaver <[email protected]>
To: rob stone <[email protected]>
To: Igor Korot <[email protected]>
To: pgsql-generallists.postgresql.org <[email protected]>
Subject: Re: Get version info
Date: Sun, 5 Jul 2026 07:53:04 -0700
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <CA+FnnTzzV2_td7=cMSD5SGtvQpRXZK53nMz+3F5S68wpiXz4TQ@mail.gmail.com>
	<[email protected]>

On 7/5/26 1:18 AM, rob stone wrote:
> 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)

In addition:

show server_version;
            server_version
------------------------------------
  17.10 (Ubuntu 17.10-1.pgdg24.04+1)


show server_version_num;
  server_version_num
--------------------
  170010

-- 
Adrian Klaver
[email protected]





view thread (11+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: Get version info
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox