pgsql: psql: Improve tab completion for ALTER TABLE on identity columns

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: psql: Improve tab completion for ALTER TABLE on identity columns
Date: 2022-11-01 11:19:06
Message-ID: E1oppIQ-001jix-9x@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

psql: Improve tab completion for ALTER TABLE on identity columns

- Add tab completion for ALTER SEQUENCE … START …
- Add tab completion for ALTER COLUMN … SET GENERATED …
- Add tab completion for ALTER COLUMN … SET <sequence option>
- Add tab completion for ALTER COLUMN … ADD GENERATED … AS IDENTITY

Author: Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>
Reviewed-by: Matheus Alcantara <mths(dot)dev(at)pm(dot)me>
Discussion: https://www.postgresql.org/message-id/flat/87mta1jfax(dot)fsf(at)wibble(dot)ilmari(dot)org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2ea5de296ef29d808e8cbc41f6053e33b7e7cf18

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

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2022-11-01 13:21:10 pgsql: Remove incorrect name from release notes
Previous Message Tom Lane 2022-10-31 23:53:30 pgsql: Add basic regression tests for semi/antijoin recognition.