pgsql: Support tab-complete for TRUNCATE on foreign tables.

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Support tab-complete for TRUNCATE on foreign tables.
Date: 2021-04-12 12:35:31
Message-ID: E1lVvmt-0006LM-CR@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Support tab-complete for TRUNCATE on foreign tables.

Commit 8ff1c94649 extended TRUNCATE command so that it can also truncate
foreign tables. But it forgot to support tab-complete for TRUNCATE on
foreign tables. That is, previously tab-complete for TRUNCATE displayed
only the names of regular tables.

This commit improves tab-complete for TRUNCATE so that it displays also
the names of foreign tables.

Author: Fujii Masao
Reviewed-by: Bharath Rupireddy
Discussion: https://postgr.es/m/551ed8c1-f531-818b-664a-2cecdab99cd8@oss.nttdata.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/81e094bdfdd6cf6568cba2b25eea9876daceaacb

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

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2021-04-12 13:46:10 pgsql: Fix files references in nls.mk
Previous Message Christoph Berg 2021-04-12 08:09:39 Re: pgsql: Move tablespace path re-creation from the makefiles to pg_regres