pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Álvaro Herrera <alvherre@kurilemu.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add tab-completion for ALTER TABLE not-nulls
Date: Thu, 03 Jul 2025 14:54:56 +0000
Message-ID: <E1uXLKy-004X68-1Z@gemulon.postgresql.org> (raw)

Add tab-completion for ALTER TABLE not-nulls

The command is: ALTER TABLE x ADD [CONSTRAINT y] NOT NULL z

This syntax was added in 18, but I got pushback for getting commit
dbf42b84ac7b in 18 (also tab-completion for new syntax) after the
feature freeze, so I'll put this in master only for now.

Author: Álvaro Herrera <alvherre@kurilemu.de>
Reported-by: Fujii Masao <masao.fujii@oss.nttdata.com>
Reviewed-by: Fujii Masao <masao.fujii@oss.nttdata.com>
Reviewed-by: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Discussion: https://postgr.es/m/d4f14c6b-086b-463c-b15f-01c7c9728eab@oss.nttdata.com
Discussion: https://postgr.es/m/202505111448.bwbfomrymq4b@alvherre.pgsql

Branch
------
master

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

Modified Files
--------------
src/bin/psql/tab-complete.in.c | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)



view thread (5+ messages)

Message-ID: <E1uXLKy-004X68-1Z@gemulon.postgresql.org>
Permalink:  ../E1uXLKy-004X68-1Z@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1uXLKy-004X68-1Z@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: alvherre@kurilemu.de, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add tab-completion for ALTER TABLE not-nulls
  In-Reply-To: <E1uXLKy-004X68-1Z@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox