Re: [HACKERS] Rules containing INSERT/UPDATE lack dependencies on target columns

2012-03-09 Thread Robert Haas
On Fri, Mar 9, 2012 at 2:14 PM, Tom Lane wrote: > I'm inclined to only fix this in HEAD. +1. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: h

[HACKERS] Rules containing INSERT/UPDATE lack dependencies on target columns

2012-03-09 Thread Tom Lane
I looked into the misbehavior reported here: http://archives.postgresql.org/pgsql-bugs/2012-03/msg00068.php The reason the ALTER TABLE fails to fail is $SUBJECT: it goes looking for pg_depend entries showing that rewrite rules depend on the column to be altered, but there isn't one. This is basic