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

Ian Lawrence Barwick <barwick@gmail.com>

From: Ian Lawrence Barwick <barwick@gmail.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2021-02-12T01:32:14Z
Lists: pgsql-hackers

Attachments

Greetings

We have following syntax:

    ALTER THING name [ NO ] DEPENDS ON EXTENSION name

for the following THINGs:

- ALTER TRIGGER
- ALTER FUNCTION
- ALTER PROCEDURE
- ALTER ROUTINE
- ALTER MATERIALIZED VIEW
- ALTER INDEX

In the documentation, the "[ NO ]" option is listed in the synopsis for
ALTER TRIGGER and ALTER FUNCTION, but not the others.
Trivial patch attached.

Will add to next CF.

Regards

Ian Barwick


-- 
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