pgsql: psql: Improve tab-completion for MERGE.

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: psql: Improve tab-completion for MERGE.
Date: 2022-09-22 00:26:48
Message-ID: E1obA3D-001Q0w-KZ@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

psql: Improve tab-completion for MERGE.

Commit 7103ebb7aa added the tab-completion for MERGE accidentally
in the middle of that for LOCK TABLE. This commit fixes this issue.

This also adds some tab-completion for MERGE.

Back-patch to v15 where MERGE was introduced.

Author: Kotaro Kawamoto, Fujii Masao
Reviewed-by: Shinya Kato, Álvaro Herrera
Discussion: https://postgr.es/m/9f1ad2a87a58cd5e7d64f3993130958d@oss.nttdata.com

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f80919df950ab05cbe79c7ab34fb359aa79641d4

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

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2022-09-22 00:48:15 pgsql: Used optimized linear search in more code paths
Previous Message Fujii Masao 2022-09-22 00:26:28 pgsql: psql: Improve tab-completion for MERGE.