| From: | Yamaguchi Atsuo <acrobatcoder(at)gmail(dot)com> |
|---|---|
| To: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | Add tab completion for SERVER and CONNECTION keywords in psql |
| Date: | 2026-03-22 20:30:30 |
| Message-ID: | CAKSyusJWdWcUKVd3qJXcEaQxJewGymQWV_r3-mc=Knrqo0AZ_g@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi,
This patch adds missing tab completion support in psql for:
- SERVER keyword after ALTER/CREATE SUBSCRIPTION <name>
- CONNECTION keyword after ALTER/CREATE FOREIGN DATA WRAPPER <name>
Currently, typing "ALTER SUBSCRIPTION sub1 SERVER" and pressing Tab
does not complete server names, even though the SERVER keyword itself
is already suggested. Similarly, CONNECTION is not suggested as a
completion candidate for FOREIGN DATA WRAPPER commands, despite being
a valid option.
The patch is generated against the current master branch.
Regards,
Atsuo Yamaguchi
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-Add-tab-completion-for-SERVER-and-CONNECTION-keyword.patch | application/octet-stream | 2.7 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew Dunstan | 2026-03-22 21:19:09 | Re: pg_waldump: support decoding of WAL inside tarfile |
| Previous Message | Melanie Plageman | 2026-03-22 19:58:27 | Re: eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access) |