Add tab-completion for ALTER TABLE not-nulls
authorÁlvaro Herrera <[email protected]>
Thu, 3 Jul 2025 14:54:36 +0000 (16:54 +0200)
committerÁlvaro Herrera <[email protected]>
Thu, 3 Jul 2025 14:54:36 +0000 (16:54 +0200)
commita604affaded028b6bfba024127931289c2b756c2
treedf1f70ef1b61023a754634a280c8558bf2d5c05e
parentc84698ceaea8a08b1d11d527ce9530a98b156799
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 <[email protected]>
Reported-by: Fujii Masao <[email protected]>
Reviewed-by: Fujii Masao <[email protected]>
Reviewed-by: Dagfinn Ilmari Mannsåker <[email protected]>
Discussion: https://postgr.es/m/d4f14c6b-086b-463c-b15f-01c7c9728eab@oss.nttdata.com
Discussion: https://postgr.es/m/202505111448[email protected]
src/bin/psql/tab-complete.in.c