pgsql: Cope with circularities involving a view's ON SELECT rule.

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Cope with circularities involving a view's ON SELECT rule.
Date: 2004-12-14 22:16:33
Message-ID: 20041214221633.E4D953AA8CC@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Cope with circularities involving a view's ON SELECT rule. I originally
thought there couldn't be any, but the folly of this was exposed by an
example from andrew(at)supernews(dot)com 5-Dec-2004. The patch applies the
identical logic already used for table constraints and defaults to ON
SELECT rules, so I have reasonable confidence in it even though it might
look like complicated logic.

Modified Files:
--------------
pgsql/src/bin/pg_dump:
pg_dump.c (r1.395 -> r1.396)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_dump.c.diff?r1=1.395&r2=1.396)
pg_dump.h (r1.113 -> r1.114)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_dump.h.diff?r1=1.113&r2=1.114)
pg_dump_sort.c (r1.6 -> r1.7)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_dump_sort.c.diff?r1=1.6&r2=1.7)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2004-12-14 22:50:24 pgsql: In 'make installcheck' for contrib/, insert 'sleep 1' between
Previous Message User K0cka 2004-12-14 21:46:40 press - pr: now for review