psql tab completion for DROP TRIGGER/RULE and ALTER TABLE ... DISABLE/ENABLE

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
Thread:
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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2014-05-06 17:55:47 Re: psql tab completion for DROP TRIGGER/RULE and ALTER TABLE ... DISABLE/ENABLE
Previous Message Robert Haas 2014-05-06 17:51:45 Re: possible dsm bug in dsm_attach()