Re: BUG #7615: CREATE RULE + DEFAULT VALUES + pg_dump trouble

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgmail(at)joh(dot)to
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #7615: CREATE RULE + DEFAULT VALUES + pg_dump trouble
Date: 2012-10-19 15:05:18
Message-ID: 19193.1350659118@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

pgmail(at)joh(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Haas 2012-10-19 20:25:07 Re: BUG #7521: Cannot disable WAL log while using pg_dump
Previous Message pgmail 2012-10-19 13:39:52 BUG #7615: CREATE RULE + DEFAULT VALUES + pg_dump trouble