Re: [COMMITTERS] pgsql: Add psql variables showing server version and psql version.

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>, Robert Haas <robertmhaas(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: Add psql variables showing server version and psql version.
Date: 2017-09-06 15:41:53
Message-ID: CANP8+jJvqSFYFyWnhOWVTbT=kv3NmV7viywe11PEauKoLF+ueg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On 6 September 2017 at 06:38, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Simon Riggs <simon(at)2ndquadrant(dot)com> writes:
>> Based upon input from Tom and Fabien, I propose this additional doc patch.
>
> I do not think any of this is appropriate, particularly not the reference
> to 7.0.3.

OK, no problem.

SERVER_VERSION_NUM is a great new feature. I think these points need
further changes

* An example of the intended use of SERVER_VERSION_NUM in psql
* Clarification that this will work for current AND past server versions
* Clarification to avoid confusion between VERSION and SERVER_VERSION

Thanks

--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-09-06 16:16:12 Re: [COMMITTERS] pgsql: Add psql variables showing server version and psql version.
Previous Message Peter Eisentraut 2017-09-06 15:40:21 pgsql: doc: Make function synopsis formatting more uniform

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2017-09-06 16:01:24 Re: Fix performance of generic atomics
Previous Message Jacob Champion 2017-09-06 15:37:53 Re: [PATCH] Assert that the correct locks are held when calling PageGetLSN()