Re: queriing the version of libpq

From: crbenesch <chris(at)beneschtech(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: queriing the version of libpq
Date: 2018-06-10 19:53:02
Message-ID: 1528660382160-0.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

#include <pg_config.h>

/usr/include/pg_config-x86_64.h:#define PG_VERSION "9.6.9"
/usr/include/pg_config-x86_64.h:#define PG_VERSION_NUM 90609
/usr/include/pg_config-x86_64.h:#define PG_VERSION_STR "PostgreSQL 9.6.9 on
x86_64-redhat-linux-gnu, compiled by gcc (GCC) 7.3.1 20180303 (Red Hat
7.3.1-5), 64-bit"

I also have source for 8.4 and its there too.

--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Shutyaev 2018-06-10 20:46:30 Re: pg_upgrade and wraparound
Previous Message Adrian Klaver 2018-06-10 15:24:13 Re: Sort is generating rows

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2018-06-10 19:59:04 JIT versus standalone-headers checks
Previous Message David Fetter 2018-06-10 19:46:02 Re: PostgreSQL vs SQL Standard