Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TPE8b-0000V5-MG for pgsql-bugs@postgresql.org; Fri, 19 Oct 2012 15:05:25 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TPE8W-0007mC-SI for pgsql-bugs@postgresql.org; Fri, 19 Oct 2012 15:05:25 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q9JF5IsB019194; Fri, 19 Oct 2012 11:05:18 -0400 (EDT) From: Tom Lane To: pgmail@joh.to cc: pgsql-bugs@postgresql.org Subject: Re: BUG #7615: CREATE RULE + DEFAULT VALUES + pg_dump trouble In-reply-to: References: Comments: In-reply-to pgmail@joh.to message dated "Fri, 19 Oct 2012 13:39:52 -0000" Date: Fri, 19 Oct 2012 11:05:18 -0400 Message-ID: <19193.1350659118@sss.pgh.pa.us> X-Pg-Spam-Score: -2.3 (--) X-Archive-Number: 201210/191 X-Sequence-Number: 34491 pgmail@joh.to writes: > Doing this: > CREATE RULE bar_rule1 AS ON INSERT TO bar DO ALSO INSERT INTO foo DEFAULT > VALUES; > breaks pg_dump. It outputs the following: > CREATE RULE bar_rule1 AS ON INSERT TO bar DO INSERT INTO foo () VALUES > (); Ooops :-(. Will fix, thanks for the report! regards, tom lane