On Wed, Oct 21, 2026 at 4:34 PM Sho Ito <[email protected]> wrote:
> Thanks, that makes sense. How about keeping v1 for now

+1

> and addressing
> the incorrect completion after `IF` separately by improving completion
> for `IF EXISTS` in the affected `DROP` commands?

IIUC, currently, psql does not offer tab completion for "IF EXISTS" or
"IF NOT EXISTS". But, are you suggesting adding support for these clauses
across commands? I'm not sure how much benefit this would provide
relative to the implementation effort.

BTW, since "if" is not a reserved keyword, an index can be named "if".
What should tab completion offer after "DROP INDEX CONCURRENTLY if"
in that case?

Regards,

-- 
Fujii Masao


Reply via email to