| From: | Ishjaap Singh <ishjaap(dot)singh07(at)gmail(dot)com> |
|---|---|
| To: | Sho Ito <i(dot)sho(dot)0628(at)gmail(dot)com> |
| Cc: | Álvaro Herrera <alvherre(at)kurilemu(dot)de>, Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: [PATCH] psql: Fix REPACK index completion after a column list |
| Date: | 2026-11-28 09:16:35 |
| Message-ID: | CA+Y2Bmd0VFvgbD0bVfKy0aeeLNGMKU98ekWsBS4BryDX+Cd0YQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi Sho,
I tested both v5 patches on master (e87b024bfb8) and ran the psql TAP
tests on REL_19_STABLE too.
The new completions work as described. REPACK (ANALYZE) tab1 (c1) <Tab>
now completes USING INDEX, and REPACK (ANALYZE) tab1 <Tab><Tab> offers
"(" and USING INDEX. That list is the same with VERBOSE, ANALYZE OFF or
a schema-qualified table, so the option list isn't parsed. The cases
v3 fixed behave the same as before.
The psql TAP tests pass on both branches. With v4's tab-complete.in.c
and the v5 tests, the run fails at the first new column-list check, so
the new tests cover the change. perltidy is clean now.
From my side v5 looks good.
Regards,
Ishjaap Singh
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Manu | 2026-11-28 09:23:19 | Re: Dropping a composite attribute causes data integrity violations |
| Previous Message | Osama Abdul Qader | 2026-11-28 08:39:09 | Re: pg_rewind reports "no rewind required" due to stale minRecoveryPoint |