Add psql tab completion for FOR PORTION OF clause

Peter Eisentraut <peter@eisentraut.org>

Commit: 7b22f15a015ff57507cd9c8cfa0b9741b33cc0bd
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2026-05-12T15:24:01Z
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: https://www.postgresql.org/message-id/flat/CAD0dvCQLqLzPrQJRjjA2qXDH%3DD%2BXShcxhbSPxNhVruC8HGhkbQ%40mail.gmail.com

Files

PathChange+/−
src/bin/psql/t/010_tab_completion.pl modified +39 −1
src/bin/psql/tab-complete.in.c modified +27 −3

Discussion