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

From: Kuntal Ghosh <kuntalghosh(dot)2007(at)gmail(dot)com>
To: Ian Barwick <ian(dot)barwick(at)2ndquadrant(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] psql: add tab completion for \df slash command suffixes
Date: 2019-09-04 06:14:23
Message-ID: CAGz5QCLxPauhWyejq9Y_z0fWJK6tjf__tHc-yYWoXSZ7c42jWg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello Ian,

On Fri, Aug 30, 2019 at 10:31 AM Ian Barwick
<ian(dot)barwick(at)2ndquadrant(dot)com> wrote:
> 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.
I've reviewed the patch. It works as expected in master. But, the
syntax "\dfp" doesn't exist beyond Pg11. So, you've to remove the same
from the patches for Pg95 and Pg94. I guess the same patch should be
applied on Pg10 and Pg96.

--
Thanks & Regards,
Kuntal Ghosh
EnterpriseDB: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2019-09-04 06:16:36 Re: Proposal: roll pg_stat_statements into core
Previous Message Amit Langote 2019-09-04 05:36:33 dropping column prevented due to inherited index