Re: Long-running DELETE - Mailing list pgsql-sql

From Tom Lane
Subject Re: Long-running DELETE
Date
Msg-id 7540.1011159725@sss.pgh.pa.us
Whole thread Raw
In response to Long-running DELETE  (jboes@nexcerpt.com (Jeff Boes))
List pgsql-sql
jboes@nexcerpt.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


pgsql-sql by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Long-running DELETE
Next
From: Marius Andreiana
Date:
Subject: psql bug: copy paste statements looses tab character