Re: psql should show disabled internal triggers

From: Bernd Helmle <mailings(at)oopsware(dot)de>
To: Andres Freund <andres(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: psql should show disabled internal triggers
Date: 2013-09-18 13:15:55
Message-ID: 2459C95FC1B4271C8DE2B13D@apophis.credativ.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

--On 18. September 2013 13:52:29 +0200 Andres Freund
<andres(at)2ndquadrant(dot)com> wrote:

> If you do ALTER TABLE ... DISABLE TRIGGER ALL; and then individually
> re-enable the disabled triggers it's easy to miss internal triggers.
> A \d+ tablename will not show anything out of the ordinary for that
> situation since we don't show internal triggers. But foreign key checks
> won't work.
> So, how about displaying disabled internal triggers in psql?

Hi had exactly the same concerns this morning while starting to look at the
ENABLE/DISABLE constraint patch. However, i wouldn't display them as
triggers, but maybe more generally as "disabled constraints" or such.

--
Thanks

Bernd

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2013-09-18 13:16:11 Re: UTF8 national character data type support WIP patch and list of open issues.
Previous Message Robert Haas 2013-09-18 13:05:45 Re: Docs fix in advanced.sgml