Re: disable trigger all

From: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: disable trigger all
Date: 2010-09-29 15:43:04
Message-ID: AANLkTi=d1694b8T2j+yYCmgqHegm2N-9inXq2RY_=oug@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2010/9/29 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
> =?UTF-8?Q?Grzegorz_Ja=C5=9Bkiewicz?= <gryzman(at)gmail(dot)com> writes:
>> I got bitten Today by 'alter table disable trigger all' vs 'trigger user'.
>> Basically , assuming that psql doesn't show me that FKs are disabled
>> some code was using 'trigger all' instead of 'user'.
>
> I think that is today's lesson in why not to work as a superuser except
> when you absolutely have to.

Thanks :)
Somehow I knew, you're not going to say. 'Ya, this is a bug, that info
should be displayed to the user'.

--
GJ

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Henri De Feraudy 2010-09-29 16:31:57 Basic question on PGSQL and Transactions
Previous Message Adam Wizon 2010-09-29 15:14:54 Fwd: Restore problem from 8.4 backup to 9.0