Re: [DOC] add missing "[ NO ]" to various "DEPENDS ON" synopses

Ian Lawrence Barwick <barwick@gmail.com>

From: Ian Lawrence Barwick <barwick@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2021-02-15T06:52:31Z
Lists: pgsql-hackers
2021年2月13日(土) 11:52 Michael Paquier <michael@paquier.xyz>:

> On Fri, Feb 12, 2021 at 10:32:14AM +0900, Ian Lawrence Barwick wrote:
> > In the documentation, the "[ NO ]" option is listed in the synopsis for
> > ALTER TRIGGER and ALTER FUNCTION, but not the others.
> > Trivial patch attached.
>
> There are two flavors to cover for 6 commands per gram.y, and you are
> covering all of them.  So this looks good to me.  I'll apply and
> backpatch in a bit.  It is worth noting that tab-complete.c does a bad
> job in completing those clauses.
> --
> Michael
>


-- 
EnterpriseDB: https://www.enterprisedb.com

Commits

  1. Add psql completion for [ NO ] DEPENDS ON EXTENSION

  2. doc: Mention NO DEPENDS ON EXTENSION in its supported ALTER commands