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

From Magnus Hagander
Subject Re: psql show URL with help
Date
Msg-id CABUevEzXYS4kSdY8o-2JLtV1J+ZoiFFRfVipxnyPs5EHncYQpQ@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
List pgsql-hackers


On Thu, Feb 21, 2019 at 6:28 PM Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote:
As mentioned on

https://www.cybertec-postgresql.com/en/looking-at-mysql-8-with-postgresql-goggles-on/

how about this:

=> \h analyze
Command:     ANALYZE
Description: collect statistics about a database
Syntax:
ANALYZE [ ( option [, ...] ) ] [ table_and_columns [, ...] ]
ANALYZE [ VERBOSE ] [ table_and_columns [, ...] ]

where option can be one of:

    VERBOSE
    SKIP_LOCKED

and table_and_columns is:

    table_name [ ( column_name [, ...] ) ]

URL: https://www.postgresql.org/docs/12/sql-analyze.html
^^^^


I've had doing this on my TODO for a few years, but never managed to get around to it. So strong +1 for the idea :)

 
(Won't actually work because the web site isn't serving "12" URLs yet,
but that's something that could probably be sorted out.)

Why not just link to /devel/ when it's a devel version? The 12 docs will be up alongside the first beta version, so it should be perfectly possible to have it do that based on information from configure, no?

--

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: list append syntax for postgresql.conf
Next
From: Oleksii Kliukin
Date:
Subject: Re: Prepared transaction releasing locks before deregistering its GID