pgsql: Add more tab completion support for ALTER TABLE ADD in psql

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add more tab completion support for ALTER TABLE ADD in psql
Date: 2021-08-30 00:51:36
Message-ID: E1mKVWS-0002XK-4E@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add more tab completion support for ALTER TABLE ADD in psql

This includes the detection of new patterns for various constraint
types, with the addition of USING INDEX for unique indexes of a table
on primary keys and unique constraints.

Author: Dagfinn Ilmari Mannsåker
Discussion: https://postgr.es/m/87bl6ehhpl.fsf@wibble.ilmari.org

Branch
------
master

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Masahiko Sawada 2021-08-30 01:12:07 Re: Separate out FileSet from SharedFileSet (was Re: pgsql: pgstat: Bring up pgstat in BaseInit() to fix uninitialized use o)
Previous Message Tom Lane 2021-08-29 16:50:37 pgsql: Doc: add a little about LACON execution to src/backend/regex/REA