Re: [PATCH] Add missing \ddp psql command

From: David Christensen <david(at)endpoint(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Add missing \ddp psql command
Date: 2015-07-07 13:44:16
Message-ID: 173C3F2A-3D84-4093-BF41-6ECCCFF5863F@endpoint.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> On Jul 7, 2015, at 3:53 AM, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
>
> On Tue, Jul 7, 2015 at 2:11 AM, David Christensen <david(at)endpoint(dot)com> wrote:
>> Quickie patch for spotted missing psql \ddp tab-completion.
>
> Thanks for the report and patch!
>
> I found that tab-completion was not supported in not only \ddp
> but also other psql meta commands like \dE, \dm, \dO, \dy, \s and
> \setenv. Attached patch adds all those missing tab-completions.

From a completeness standpoint makes sense to me to have all of them, but from a practical standpoint a single-character completion like \s isn’t going to do much. :)

David
--
David Christensen
PostgreSQL Team Manager
End Point Corporation
david(at)endpoint(dot)com
785-727-1171

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2015-07-07 13:49:20 Re: replication slot restart_lsn initialization
Previous Message Heikki Linnakangas 2015-07-07 13:42:07 Re: Fix broken Install.bat when target directory contains a space