Re: psql show URL with help - Mailing list pgsql-hackers

From Euler Taveira
Subject Re: psql show URL with help
Date
Msg-id CAHE3wghfmH9rOAQNjJLck_rU3E7UTscBYUDtcbmWzvNDWQgj1g@mail.gmail.com
Whole thread Raw
In response to psql show URL with help  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: psql show URL with help  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Re: psql show URL with help  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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.
There is also the case that some commands don't exist on old versions
but URL will be printed. IMHO URL should be printed iif psql version
is the same as server version. If we want flexibility, let's add an
option to enable URL exhibition (always/same) that defaults to same.


--
   Euler Taveira                                   Timbira -
http://www.timbira.com.br/
   PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Unnecessary checks for new rows by some RI trigger functions?
Next
From: Tom Lane
Date:
Subject: Re: Autovaccuum vs temp tables crash