On 2025-Jun-04, Fujii Masao wrote:
> Hi,
>
> psql already supports tab-completion for ALTER TABLE ADD with constraints
> like CHECK and UNIQUE. However, after commit 14e87ffa5c5 introduced
> support for adding NOT NULL constraints using ALTER TABLE ADD,
> tab-completion for that case was missing.
>
> The attached patch adds tab-completion support for ALTER TABLE ADD NOT NULL.
> Thought?
Hmm, did you rewrite the patch I posted at
https://postgr.es/m/202505111448.bwbfomrymq4b@alvherre.pgsql
?
--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
"Nunca se desea ardientemente lo que solo se desea por razón" (F. Alexandre)