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

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Add tab-completion for ALTER TABLE ADD NOT NULL
Date: 2025-06-04 14:38:32
Message-ID: 202506041438.uozc5geinnjf@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Maxim Orlov 2025-06-04 14:43:37 Re: Speedup truncations of temporary relation forks
Previous Message Fujii Masao 2025-06-04 14:26:59 Add tab-completion for ALTER TABLE ADD NOT NULL