pgsql: Improve psql tab completion for COMMENT

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve psql tab completion for COMMENT
Date: 2021-11-05 06:27:34
Message-ID: E1mishK-0005AL-Qz@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve psql tab completion for COMMENT

Completion is added for more object types, like domain constraints, text
search-ish objects or policies. Moreover, the area is reorganized,
changing the list of objects supported by COMMENT to be in the same
order as the documentation to ease future additions.

Author: Ken Kato
Reviewed-by: Fujii Masao, Shinya Kato, Suraj Khamkar, Michael Paquier
Discussion: https://postgr.es/m/6e0c2f3f657b229bea32d098d118f307@oss.nttdata.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a5b336b8b9e04a93e7c8526302504d2e5201eb80

Modified Files
--------------
src/bin/psql/tab-complete.c | 85 +++++++++++++++++++++++++++++++++++----------
1 file changed, 67 insertions(+), 18 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2021-11-05 06:48:25 Re: pgsql: Add various assertions to heap pruning code.
Previous Message Peter Geoghegan 2021-11-05 02:54:25 pgsql: Add hardening to catch invalid TIDs in indexes.