Re: Patch: add psql tab completion for event triggers

From: Ian Barwick <ian(at)2ndquadrant(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Patch: add psql tab completion for event triggers
Date: 2014-04-08 09:27:07
Message-ID: 5343C0EB.8080707@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 08/04/14 18:22, Ian Barwick wrote:
> As it was kind of annoying not to have this when playing around with
> event triggers.
>
> This also tightens up the existing tab completion for ALTER TRIGGER,
> which contained redundant code for table name completion, and which was
> also causing a spurious "RENAME TO" to be inserted in this context:
>
> CREATE EVENT TRIGGER foo ON {event} ^I

Apologies, previous patch had some unrelated changes in it.

Correct patch attached.

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

Attachment Content-Type Size
psql-event-trigger.patch text/x-patch 10.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-04-08 09:57:21 Re: B-Tree support function number 3 (strxfrm() optimization)
Previous Message Ian Barwick 2014-04-08 09:22:05 Patch: add psql tab completion for event triggers