From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Simon Riggs <simon(at)2ndquadrant(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-05 16:58:36 |
Message-ID: | 4782.1504630716@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> On Tue, Sep 5, 2017 at 12:16 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Hm. I think it would be a fine idea to push this change into v10,
>> so that all psql versions that have \if would have these variables.
>> However, I'm less enthused about adding them to the 9.x branches.
>> Given the lack of \if, I'm not seeing a use-case that would justify
>> taking any compatibility risk for.
>>
>> Opinions anyone?
> As I see it, the risks of back-patching are:
> 1. Different minor versions will have different behavior, and that
> tends to create more problems than it solves.
Yeah. Whatever use-case you think might exist for these variables in,
say, 9.6 is greatly weakened by the fact that releases through 9.6.5
don't have them.
However, since v10 is still in beta I don't think that argument
applies to it.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Fabien COELHO | 2017-09-05 17:01:52 | Re: [COMMITTERS] pgsql: Add psql variables showing server version and psql version. |
Previous Message | Peter Eisentraut | 2017-09-05 16:37:26 | pgsql: Support retaining data dirs on successful TAP tests |
From | Date | Subject | |
---|---|---|---|
Next Message | Fabien COELHO | 2017-09-05 17:01:52 | Re: [COMMITTERS] pgsql: Add psql variables showing server version and psql version. |
Previous Message | Tom Lane | 2017-09-05 16:54:14 | Re: psql - add special variable to reflect the last query status |