pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Improve tab completion of IMPORT FOREIGN SCHEMA in psql 2+ messages / 1 participants [nested] [flat]
* pgsql: Improve tab completion of IMPORT FOREIGN SCHEMA in psql @ 2020-09-17 02:55 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 2+ messages in thread From: Michael Paquier @ 2020-09-17 02:55 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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(+) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Improve tab completion of IMPORT FOREIGN SCHEMA with \h in psql @ 2021-03-19 00:19 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 2+ messages in thread From: Michael Paquier @ 2021-03-19 00:19 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Improve tab completion of IMPORT FOREIGN SCHEMA with \h in psql Only "IMPORT" was showing as result of the completion, while IMPORT FOREIGN SCHEMA is the only command using this keyword in first position. This changes the completion to show the full command name instead of just "IMPORT". Reviewed-by: Georgios Kokolatos, Julien Rouhaud Discussion: https://postgr.es/m/YFL6JneBiuMWYyoh@paquier.xyz Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/5b2266e33fc74142d23685bdf54f64ad598fbdea Modified Files -------------- src/bin/psql/tab-complete.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2021-03-19 00:19 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-09-17 02:55 pgsql: Improve tab completion of IMPORT FOREIGN SCHEMA in psql Michael Paquier <michael@paquier.xyz> 2021-03-19 00:19 pgsql: Improve tab completion of IMPORT FOREIGN SCHEMA with \h in psql Michael Paquier <michael@paquier.xyz>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox