pgsql: Improve tab completion of IMPORT FOREIGN SCHEMA in psql

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve tab completion of IMPORT FOREIGN SCHEMA in psql
Date: 2020-09-17 02:55:29
Message-ID: E1kIk53-0001Eg-Ng@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve tab completion of IMPORT FOREIGN SCHEMA in psql

It is not possible to get a list of foreign schemas as the server is not
known, so this provides instead a list of local schemas, which is more
useful than nothing if using a loopback server or having schema names
matching in the local and remote servers.

Author: Jeff Janes
Reviewed-by: Tom Lane, Michael Paquier
Discussion: https://postgr.es/m/CAMkU=1wr7Roj41q-XiJs=Uyc2xCmHhcGGy7J-peJQK-e+w=ghw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7307df16a05984396649db33df0faf6d840cd223

Modified Files
--------------
src/bin/psql/tab-complete.c | 11 +++++++++++
1 file changed, 11 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2020-09-17 07:39:56 pgsql: doc: Apply more consistently <productname> markup for OpenSSL
Previous Message Tom Lane 2020-09-17 01:06:56 pgsql: Teach walsender to update its process title for replication comm