Re: [PATCH] Improve tab completion for CREATE DOMAIN without AS

From: solai v <solai(dot)cdac(at)gmail(dot)com>
To: Ishjaap Singh <ishjaap(dot)singh07(at)gmail(dot)com>
Cc: Koshino Taiki <koshino(at)sraoss(dot)co(dot)jp>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH] Improve tab completion for CREATE DOMAIN without AS
Date: 2026-12-03 06:33:41
Message-ID: CAF0whucqbUWrFmh_FY0CqmP=CRePP-Or41Whgc7qxOkLxeaf0Q@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I tested the patch for improving tab completion for CREATE DOMAIN without AS.
Before applying the patch, tab completion for the data type and domain
options was not working as expected when the AS keyword was omitted.
After applying the patch, I verified the following:
- Data type completion works without AS (for example, 'enu' completes
to 'enum1').
- Domain options such as CHECK, COLLATE, CONSTRAINT, DEFAULT, NOT NULL
and NULL are suggested correctly, both with and without AS.
- Collation completion works with and without AS (for example, 'col'
completes to 'coll1').

I also ran regression tests. All four test files passed.
The final 'git diff --check 'completed without errors.

Regards,
solai

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Shlok Kyal 2026-12-03 06:43:47 Re: DROP SUBSCRIPTION deadlock with ALTER SUBSCRIPTION OWNER TO
Previous Message Amit Kapila 2026-12-03 06:23:05 Re: ALTER DEFAULT PRIVILEGES IN SCHEMA pg_conflict silently has no effect