Re: How to tell if a trigger is disabled

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: harding(dot)ian(at)gmail(dot)com
Cc: "General PostgreSQL List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to tell if a trigger is disabled
Date: 2008-08-16 00:59:34
Message-ID: 27407.1218848374@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Ian Harding" <harding(dot)ian(at)gmail(dot)com> writes:
> Is there any way to tell if a trigger or triggers are disabled on a
> table? I was updating some data a week or two ago and must have
> forgotten to re-enable the triggers. Took me a little while to figure
> out. \d tablename didn't tell me, nor did \d+ tablename.

> This is on 8.2.3.

FWIW, 8.3's psql knows about showing this in \dt.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-08-16 02:31:47 Re: Re: pg_restore fails on Windows
Previous Message Ian Harding 2008-08-15 23:35:10 How to tell if a trigger is disabled