pgsql: Improve tab-completion for CLOSE, DECLARE, FETCH and MOVE.

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve tab-completion for CLOSE, DECLARE, FETCH and MOVE.
Date: 2021-01-14 06:42:42
Message-ID: E1kzwLC-0004NN-TZ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve tab-completion for CLOSE, DECLARE, FETCH and MOVE.

This commit makes CLOSE, FETCH and MOVE commands tab-complete the list of
cursors. Also this commit makes DECLARE command tab-complete the options.

Author: Shinya Kato, Sawada Masahiko, tweaked by Fujii Masao
Reviewed-by: Shinya Kato, Sawada Masahiko, Fujii Masao
Discussion: https://postgr.es/m/b0e4c5c53ef84c5395524f5056fc71f0@MP-MSGSS-MBX001.msg.nttdata.co.jp

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3f238b882c276a59f5d98224850e5aee2a3fec8c

Modified Files
--------------
src/bin/psql/tab-complete.c | 76 +++++++++++++++++++++++++++++++++++++++++----
1 file changed, 70 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2021-01-14 14:56:27 pgsql: Stabilize timeline switch regression test.
Previous Message Fujii Masao 2021-01-14 06:19:02 Re: pgsql: Ensure that a standby is able to follow a primary on a newer tim