Thread: pgsql: Improve tab completion of IMPORT FOREIGN SCHEMA in psql

pgsql: Improve tab completion of IMPORT FOREIGN SCHEMA in psql

From
Michael Paquier
Date:
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(+)