pgsql: Add psql tab completion for FOR PORTION OF clause

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add psql tab completion for FOR PORTION OF clause
Date: 2026-05-12 15:29:30
Message-ID: E1wMp34-000D77-1z@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)gmail(dot)com>
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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2026-05-12 19:14:07 pgsql: doc PG 19 relnotes: remove "Optionally" for CPU optimizations
Previous Message Michael Paquier 2026-05-12 07:45:39 pgsql: Add missing include in Cluster.pm