Re: Long-running DELETE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: jboes(at)nexcerpt(dot)com (Jeff Boes)
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Long-running DELETE
Date: 2002-01-16 05:42:05
Message-ID: 7540.1011159725@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

jboes(at)nexcerpt(dot)com (Jeff Boes) writes:
> I've turned off every trigger in the database:

> update pg_triggers set tgenabled=false;

AFAIR, tgenabled isn't really supported; it's not tested for AFTER
triggers, which is what foreign keys use. Your debug trace certainly
shows that the FK triggers are still live.

pg_dump knows how to disable triggers for real; I think it involves
setting pg_class.reltriggers to zero.

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Marius Andreiana 2002-01-16 07:15:16 psql bug: copy paste statements looses tab character
Previous Message Stephan Szabo 2002-01-16 05:13:49 Re: Long-running DELETE