[PATCH] psql: add tab completion for \df slash command suffixes

From: Ian Barwick <ian(dot)barwick(at)2ndquadrant(dot)com>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: [PATCH] psql: add tab completion for \df slash command suffixes
Date: 2019-08-30 05:01:19
Message-ID: 07056421-2c99-9de8-c003-d8b800d5060c@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi

I just noticed "\df[TAB]" fails to offer any tab-completion for
the possible suffixes ("\dfa", "\dfn", "\dfp", "\dft" and "\dfw").
Trivial patch attached, which applies back to Pg96, and separate
patches for Pg95 and Pg94.

I'll add this to the next commitfest.

Regards

Ian Barwick

--
Ian Barwick https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

Attachment Content-Type Size
psql-df-tab-completion.v1.patch text/x-patch 1.0 KB
psql-df-tab-completion-pg94.v1.patch text/x-patch 1.1 KB
psql-df-tab-completion-pg95.v1.patch text/x-patch 1.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2019-08-30 05:10:14 Re: [HACKERS] [WIP] Effective storage of duplicates in B-tree index.
Previous Message Michael Paquier 2019-08-30 04:29:48 Re: Improve error detections in TAP tests by spreading safe_psql