Re: Add tab-completion for ALTER TABLE ADD NOT NULL

2025-07-03 Thread Álvaro Herrera
On 2025-Jun-05, Fujii Masao wrote: > Just one small style comment: in the documentation, table constraints are > listed in the order CHECK, NOT NULL, UNIQUE, PRIMARY KEY, etc. So it might > be better to follow that same order in the code for consistency in all > three places mentioned above. Done

Re: Add tab-completion for ALTER TABLE ADD NOT NULL

2025-06-04 Thread Fujii Masao
On 2025/06/04 23:38, Álvaro Herrera wrote: 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-

Re: Add tab-completion for ALTER TABLE ADD NOT NULL

2025-06-04 Thread Álvaro Herrera
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.