X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BB39F32A0A2 for ; Tue, 19 Oct 2004 21:24:37 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 69223-09 for ; Tue, 19 Oct 2004 20:24:26 +0000 (GMT) Received: from mail.budka.ru (unknown [62.5.147.34]) by svr1.postgresql.org (Postfix) with SMTP id 8580432A095 for ; Tue, 19 Oct 2004 21:24:25 +0100 (BST) Received: (qmail 438 invoked by uid 399); 19 Oct 2004 20:22:30 -0000 Received: from unknown (HELO bruno.sokol.ru) (forlists@fbd.ru@194.226.52.138) by 196.1.4.29 with SMTP; 19 Oct 2004 20:22:30 -0000 Date: Wed, 20 Oct 2004 00:31:25 +0400 From: Peter Chekunaev X-Mailer: The Bat! (v2.12.00) Reply-To: Peter Chekunaev X-Priority: 3 (Normal) Message-ID: <52733755.20041020003125@fbd.ru> To: pgsql-interfaces@postgresql.org Subject: DROP TRIGGER in trigger MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/23 X-Sequence-Number: 5118 Hello! I have a problem. Trigger changes data in the table of this trigger. To avoid recursion I must disable this trigger or drop it. As I know postgres doesn't support disabling triggers. In the trigger I try drop it, but postgres does nothing a long time and it finishes only when I stop the postgres. What can I do to solve this problem? Best regards, Peter