Fujii Masao wrote:
> 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?

Hi Fujii-san,

You're right. I had the affected `DROP` commands in mind, but hadn't
considered an index named `if`. In that case, `RESTRICT` is a valid
completion, so calling the completion after `IF` incorrect was too broad.

I agree that broader `IF [NOT] EXISTS` support would need more thought,
and don't plan to pursue it for now.

Thanks for the review and for committing v1!

Regards,
Sho

-- 
=======================================
*Sho Ito (Sean)*

E-mail: [email protected]
LinkedIn: *https://www.linkedin.com/in/sho-ito-0628/
<https://www.linkedin.com/in/sho-ito-0628/>*
GitHub: https://github.com/sean0628/
=======================================

Reply via email to