Re: psql's commit df9f599b is not documented

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: mali_86(at)outlook(dot)com, Pg Docs <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: psql's commit df9f599b is not documented
Date: 2021-08-02 23:09:59
Message-ID: 20210802230959.GA7858@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Mon, Aug 2, 2021 at 03:31:15PM -0700, David G. Johnston wrote:
> On Mon, Aug 2, 2021 at 2:58 PM PG Doc comments form <noreply(at)postgresql(dot)org>
> wrote:
>
> quit and exit commands have been added to psql starting from psql 11
> through
> this commit df9f599b
> https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=
> df9f599bc6f14307252ac75ea1dc997310da5ba6
> but it is not documented in psql documentation
>
>
> All documented commands begin with a backslash - and indeed \help and \quit are
> the official ways to get help and to quit psql.  While the others exist as a
> courtesy they are "unofficial" and thus we've chosen to not document them.

FYI, this was mentioned in the PG 11 release notes:

<para>
Allow <command>quit</command> and <command>exit</command> to
exit <application>psql</application> when given with no prior input
(Bruce Momjian)
</para>

<para>
Also print hints about how to exit when <command>quit</command> and
<command>exit</command> are used alone on a line while the input
buffer is not empty. Add a similar hint for <command>help</command>.
</para>
</listitem>

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

If only the physical world exists, free will is an illusion.

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message David G. Johnston 2021-08-02 23:27:01 Re: psql's commit df9f599b is not documented
Previous Message David G. Johnston 2021-08-02 22:31:15 Re: psql's commit df9f599b is not documented