Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id E5509B5F4A2 for ; Tue, 7 Jun 2011 07:11:41 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 04341-06 for ; Tue, 7 Jun 2011 10:11:34 +0000 (UTC) X-Greylist: delayed 00:41:14.536293 by SQLgrey-1.7.6 Received: from relay.sw.ru (mailhub.sw.ru [195.214.232.25]) by mail.postgresql.org (Postfix) with ESMTP id 6B8DDB5F4AD for ; Tue, 7 Jun 2011 07:11:34 -0300 (ADT) Received: from [10.30.16.24] ([10.30.16.24]) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id p579WUIw005962; Tue, 7 Jun 2011 13:32:31 +0400 (MSD) Message-ID: <4DEDEFB4.8090803@parallels.com> Date: Tue, 07 Jun 2011 13:30:28 +0400 From: Anton Dedov Organization: Parallels User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: ON DELETE CASCADE with multiple paths in PostgreSQL 9.x Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201106/59 X-Sequence-Number: 30438 Hello! We are using patched version of PostgreSQL 8.1 in order to work-around bug described in http://archives.postgresql.org/pgsql-bugs/2007-05/msg00130.php. Now, we are going to upgrade to 9.0 and it also would be great to get rid of patch as it makes keeping database engine current too expensive task. I've checked 9.0 and it seems that undesirable behavior is still there. Is there any plans to fix it in future releases? May be there are some settings/workarounds that could help in this situation without patching PostgreSQL server? -- Anton Dedov Senior Software Developer Parallels Automation Parallels