Hi, psql currently offers `CONCURRENTLY` after `REINDEX SYSTEM`, although the backend rejects that combination [1].
The attached patch completes only database names after `REINDEX SYSTEM`, including when parenthesized options are present. [1] https://github.com/postgres/postgres/blob/3138f248cd3de43dd0f96760fc666152ea8a5c37/src/backend/commands/indexcmds.c#L3317-L3321 Kind regards, Sho Ito -- ======================================= *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/ =======================================
v1-0001-Fix-tab-completion-for-REINDEX-SYSTEM.patch
Description: Binary data
