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

Lists: pgsql-hackers
From: Ian Barwick <ian(at)2ndquadrant(dot)com>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: psql tab completion: fix COMMENT ON ... IS IS IS
Date: 2014-12-29 00:44:22
Message-ID: 54A0A3E6.7080107@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

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 Content-Type Size
psql-comment-on-is-is-is.patch text/x-patch 1.1 KB

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Ian Barwick <ian(at)2ndquadrant(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql tab completion: fix COMMENT ON ... IS IS IS
Date: 2014-12-31 16:07:38
Message-ID: CA+TgmoZPYZ5-Ze3-A-P7h3zU+h--QyT2FKnzAr2f09oy9SWN1g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Sun, Dec 28, 2014 at 7:44 PM, Ian Barwick <ian(at)2ndquadrant(dot)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


From: Ian Barwick <ian(at)2ndquadrant(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql tab completion: fix COMMENT ON ... IS IS IS
Date: 2015-01-01 01:16:41
Message-ID: 54A49FF9.3020306@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 15/01/01 1:07, Robert Haas wrote:
> On Sun, Dec 28, 2014 at 7:44 PM, Ian Barwick <ian(at)2ndquadrant(dot)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