Re: Indicate disabled triggers in \d

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Brendan Jurd" <direvus(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Indicate disabled triggers in \d
Date: 2006-11-06 03:50:40
Message-ID: 29048.1162785040@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

"Brendan Jurd" <direvus(at)gmail(dot)com> writes:
> My first impulse was to just append a " (disabled)" after each
> disabled trigger, but perhaps that is not visually obvious enough,
> especially if the table has many triggers on it.

Agreed, but maybe put it up at the front?

Triggers:
y AFTER DELETE ON x FOR EACH ROW EXECUTE PROCEDURE do_something()
z (disabled) BEFORE INSERT ON x FOR EACH ROW EXECUTE PROCEDURE input_stuff()

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2006-11-06 08:25:53 Re: [HACKERS] Bug in WAL backup documentation
Previous Message Brendan Jurd 2006-11-06 03:44:42 Indicate disabled triggers in \d

Browse pgsql-patches by date

  From Date Subject
Next Message Brendan Jurd 2006-11-06 04:28:03 Re: [GENERAL] ISO week dates
Previous Message Brendan Jurd 2006-11-06 03:44:42 Indicate disabled triggers in \d