psql: Fix tab completion for FOREIGN DATA WRAPPER and SUBSCRIPTION.
Masahiko Sawada <msawada@postgresql.org>
Author:
Masahiko Sawada <msawada@postgresql.org>
Date: 2026-03-25T16:30:26Z
Releases:
19 (unreleased)
psql: Fix tab completion for FOREIGN DATA WRAPPER and SUBSCRIPTION. Commit 8185bb5347 extended the CREATE/ALTER SUBSCRIPTION and CREATE/ALTER FOREIGN DATA WRAPPER commands, but missed the corresponding tab-completion logic. This commit fixes that oversight by adding completion support for: - The CONNECTION keyword in CREATE/ALTER FOREIGN DATA WRAPPER. - The list of foreign servers in CREATE/ALTER SUBSCRIPTION. Author: Yamaguchi Atsuo <acrobatcoder@gmail.com> Discussion: https://postgr.es/m/CAKSyusJWdWcUKVd3qJXcEaQxJewGymQWV_r3-mc=Knrqo0AZ_g@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/psql/tab-complete.in.c | modified | +9 −5 |
Discussion
- Add tab completion for SERVER and CONNECTION keywords in psql 4 messages · 2026-03-22 → 2026-03-25