Lists: | pgsql-hackers |
---|
From: | Andreas Karlsson <andreas(at)proxel(dot)se> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | psql tab completion for DROP TRIGGER/RULE and ALTER TABLE ... DISABLE/ENABLE |
Date: | 2014-05-06 17:52:03 |
Message-ID: | 53692143.10205@proxel.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Hi,
When benchmarking an application I got annoyed at how basic the tab
completion for ALTER TABLE ... DISABLE/ENABLE TRIGGER and DROP TRIGGER
is. So here is a patch improving the tab completion around triggers. For
consistency I have also added the same completions to rules since their
DDL is almost identical.
--
Andreas Karlsson
Attachment | Content-Type | Size |
---|---|---|
tab-complete-trigger-rule-ddl.patch | text/x-patch | 6.1 KB |
From: | Stephen Frost <sfrost(at)snowman(dot)net> |
---|---|
To: | Andreas Karlsson <andreas(at)proxel(dot)se> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: psql tab completion for DROP TRIGGER/RULE and ALTER TABLE ... DISABLE/ENABLE |
Date: | 2014-05-06 17:55:47 |
Message-ID: | 20140506175547.GT2556@tamriel.snowman.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Andreas,
* Andreas Karlsson (andreas(at)proxel(dot)se) wrote:
> When benchmarking an application I got annoyed at how basic the tab
> completion for ALTER TABLE ... DISABLE/ENABLE TRIGGER and DROP
> TRIGGER is. So here is a patch improving the tab completion around
> triggers. For consistency I have also added the same completions to
> rules since their DDL is almost identical.
Please add this to the commitfest application, so we don't forget about
this patch.
http://commitfest.postgresql.org
Thanks!
Stephen