pgsql: psql: Fix tab completion for FOREIGN DATA WRAPPER and SUBSCRIPTI

From: Masahiko Sawada <msawada(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: psql: Fix tab completion for FOREIGN DATA WRAPPER and SUBSCRIPTI
Date: 2026-03-25 16:31:03
Message-ID: E1w5R8I-001Pgb-1c@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAKSyusJWdWcUKVd3qJXcEaQxJewGymQWV_r3-mc=Knrqo0AZ_g@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5fa7837d9a3970c5ea372bb90b916b54478fb818

Modified Files
--------------
src/bin/psql/tab-complete.in.c | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Álvaro Herrera 2026-03-25 17:26:29 pgsql: Remove unused autovac_table.at_sharedrel
Previous Message Peter Eisentraut 2026-03-25 14:09:24 pgsql: Disable warnings in system headers in MSVC