Add tab-completion for CREATE FOREIGN TABLE.
commit74527c3e022d3ace648340b79a6ddec3419f6732
authorFujii Masao <fujii@postgresql.org>
Sat, 15 Jan 2022 02:22:24 +0000 (15 11:22 +0900)
committerFujii Masao <fujii@postgresql.org>
Sat, 15 Jan 2022 02:22:24 +0000 (15 11:22 +0900)
treee2d39f44ff0eb2a218c4afd037d4427cb85a0a91
parent36c4bc6e725fe3e9b5a6cc7f1f83010534f18e4b
Add tab-completion for CREATE FOREIGN TABLE.

Unlike CREATE TABLE, CREATE FOREIGN TABLE is not allowed inside
CREATE SCHEMA, so Matches() is used instead of TailMatches() for
the tab-completion.

Author: Tang <tanghy.fnst@fujitsu.com>
Reviewed-by: Fujii Masao
Discussion: https://postgr.es/m/OS0PR01MB61137E96E0551278782D11CDFB519@OS0PR01MB6113.jpnprd01.prod.outlook.com
src/bin/psql/tab-complete.c