From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Euler Taveira <euler@timbira.com.br>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: psql show URL with help
Date: Fri, 22 Feb 2019 15:50:17 +0100
Message-ID: <dccec8bf-21e5-0494-4184-78b0eeaf9832@2ndquadrant.com> (raw)
In-Reply-To: <CAHE3wghfmH9rOAQNjJLck_rU3E7UTscBYUDtcbmWzvNDWQgj1g@mail.gmail.com>
References: <40179bd0-fa7d-4108-1991-a20ae9ad5667@2ndquadrant.com>
<CAHE3wghfmH9rOAQNjJLck_rU3E7UTscBYUDtcbmWzvNDWQgj1g@mail.gmail.com>
On 2019-02-22 15:37, Euler Taveira wrote:
> Em qui, 21 de fev de 2019 às 14:28, Peter Eisentraut
> <peter.eisentraut@2ndquadrant.com> escreveu:
>> URL: https://www.postgresql.org/docs/12/sql-analyze.html
>> ^^^^
>>
> What happen if I connect to an old server? Did it print URL according
> to psql version or server version? psql prints help about its version
> and if user wants details about a command, clicks in the URL but what
> is shown is 12 docs but user is accessing a 9.4 server. Ops... the
> command failed. Check the URL again but... wait it is not 9.4 docs.
Well, the help that currently displays is also hardcoded to the psql
version. At least this way it would indicate in the URL that it might
pertain to a different version.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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: pgsql-hackers@postgresql.org
Cc: peter.eisentraut@2ndquadrant.com, euler@timbira.com.br
Subject: Re: psql show URL with help
In-Reply-To: <dccec8bf-21e5-0494-4184-78b0eeaf9832@2ndquadrant.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox