pgsql: Add psql tab completion for FOR PORTION OF clause

Started by Peter Eisentraut2 months ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

Add psql tab completion for FOR PORTION OF clause

Add tab completion support in psql for the FOR PORTION OF clause
used in UPDATE and DELETE statements with temporal tables.

For both UPDATE and DELETE, completion now guides users through:
<table> FOR -> PORTION -> OF -> <column> -> FROM

Author: Kiran Kaki <itskkpg@gmail.com>
Discussion: /messages/by-id/CAD0dvCQLqLzPrQJRjjA2qXDH=D+XShcxhbSPxNhVruC8HGhkbQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7b22f15a015ff57507cd9c8cfa0b9741b33cc0bd

Modified Files
--------------
src/bin/psql/t/010_tab_completion.pl | 40 +++++++++++++++++++++++++++++++++++-
src/bin/psql/tab-complete.in.c | 30 ++++++++++++++++++++++++---
2 files changed, 66 insertions(+), 4 deletions(-)