Re: Get version info

From: Igor Korot <ikorot01(at)gmail(dot)com>
To: rob stone <floriparob(at)tpg(dot)com(dot)au>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Get version info
Date: 2026-07-05 18:09:29
Message-ID: CA+FnnTyQT3=ieA=1QjprTg3DsP73WbteQX3gosWTYho9rFD-yw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi, Rob,

On Sun, Jul 5, 2026 at 3:18 AM rob stone <floriparob(at)tpg(dot)com(dot)au> 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)
>
>
LL,
> > 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.

igor(at)WaylandGnome ~/dbhandler/Debug/dbhandler $ select version()
bash: syntax error near unexpected token `('

I need to check it inside configure.ac, not inside psql or any other PG client.

Thank you.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Igor Korot 2026-07-05 18:14:23 Re: Get version info
Previous Message Ron Johnson 2026-07-05 14:56:38 Re: Get version info