Patch: add psql tab completion for event triggers

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

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

Regards

Ian Barwick

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

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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ian Barwick 2014-04-08 09:27:07 Re: Patch: add psql tab completion for event triggers
Previous Message Etsuro Fujita 2014-04-08 09:05:32 Minor improvements in alter_table.sgml