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 <[email protected]>
Discussion: 
https://www.postgresql.org/message-id/flat/CAD0dvCQLqLzPrQJRjjA2qXDH%3DD%2BXShcxhbSPxNhVruC8HGhkbQ%40mail.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(-)

Reply via email to