pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #7615: CREATE RULE + DEFAULT VALUES + pg_dump trouble
2+ messages / 2 participants
[nested] [flat]
* BUG #7615: CREATE RULE + DEFAULT VALUES + pg_dump trouble
@ 2012-10-19 13:39 pgmail@joh.to
2012-10-19 15:05 ` Re: BUG #7615: CREATE RULE + DEFAULT VALUES + pg_dump trouble Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 2+ messages in thread
From: pgmail@joh.to @ 2012-10-19 13:39 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 7615
Logged by: Marko Tiikkaja
Email address: pgmail@joh.to
PostgreSQL version: 9.1.6
Operating system: Linux
Description:
Hi,
Doing this:
CREATE TABLE foo(a int);
CREATE TABLE bar(a int);
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
();
which obviously won't work. :-(
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #7615: CREATE RULE + DEFAULT VALUES + pg_dump trouble
2012-10-19 13:39 BUG #7615: CREATE RULE + DEFAULT VALUES + pg_dump trouble pgmail@joh.to
@ 2012-10-19 15:05 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2012-10-19 15:05 UTC (permalink / raw)
To: pgmail@joh.to; +Cc: pgsql-bugs
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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2012-10-19 15:05 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-10-19 13:39 BUG #7615: CREATE RULE + DEFAULT VALUES + pg_dump trouble pgmail@joh.to
2012-10-19 15:05 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox