Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 7ACAF632CB7; Thu, 25 Mar 2010 14:41:57 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 46884-08; Thu, 25 Mar 2010 17:41:41 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from glacier.frostconsultingllc.com (glacier.frostconsultingllc.com [69.36.227.170]) by mail.postgresql.org (Postfix) with ESMTP id 01BE5632517; Thu, 25 Mar 2010 14:41:41 -0300 (ADT) Received: from dsl081-245-111.sfo1.dsl.speakeasy.net ([64.81.245.111] helo=Sidney-Stratton.local) by glacier.frostconsultingllc.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.69) (envelope-from ) id 1Nur3p-0005O5-EG; Thu, 25 Mar 2010 10:41:39 -0700 Message-ID: <4BABA04E.6010603@agliodbs.com> Date: Thu, 25 Mar 2010 10:41:34 -0700 From: Josh Berkus User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2 MIME-Version: 1.0 To: pgsql-hackers@postgresql.org CC: pgsql-testers@postgresql.org Subject: Conditional trigger missing from pg_dump Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.176 tagged_above=-10 required=5 tests=AWL=0.423, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201003/1014 X-Sequence-Number: 159790 All, It looks like pg_dump was never modified to include conditional triggers. If you look in pg_dump.c, there's no provision to dump the FOR UPDATE OF part of the trigger declaration. This was discovered by Dave Olszewski while testing conditional triggers. -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.com