Thread: psql tab completion: fix COMMENT ON ... IS IS IS

psql tab completion: fix COMMENT ON ... IS IS IS

From
Ian Barwick
Date:
Hi

Currently tab completion for 'COMMENT ON {object} foo IS' will result in the 'IS'
being duplicated up to two times; not a world-shattering issue I know, but the
fix is trivial and I stumble over it often enough to for it to mildly annoy me.
Patch attached.


Regards

Ian Barwick

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

Attachment

Re: psql tab completion: fix COMMENT ON ... IS IS IS

From
Robert Haas
Date:
On Sun, Dec 28, 2014 at 7:44 PM, Ian Barwick <ian@2ndquadrant.com> wrote:
> Currently tab completion for 'COMMENT ON {object} foo IS' will result in the
> 'IS'
> being duplicated up to two times; not a world-shattering issue I know, but
> the
> fix is trivial and I stumble over it often enough to for it to mildly annoy
> me.
> Patch attached.

I've noticed that in the past, too.  Committed.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



Re: psql tab completion: fix COMMENT ON ... IS IS IS

From
Ian Barwick
Date:
On 15/01/01 1:07, Robert Haas wrote:
> On Sun, Dec 28, 2014 at 7:44 PM, Ian Barwick <ian@2ndquadrant.com> wrote:
>> Currently tab completion for 'COMMENT ON {object} foo IS' will result in the
>> 'IS'
>> being duplicated up to two times; not a world-shattering issue I know, but
>> the
>> fix is trivial and I stumble over it often enough to for it to mildly annoy
>> me.
>> Patch attached.
> 
> I've noticed that in the past, too.  Committed.

Thanks.

Regards

Ian Barwick


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