Comment 7 for bug 782688

Revision history for this message
Andrew (aes) wrote :

This is not postgresql error. openERP has a defect in its schema that is allowed to slip through because of a bug in postgres. Once that bug is fixed, that will cause openERP more problems.

Discussion here:
http://postgresql.1045698.n5.nabble.com/BUG-6024-pg-dump-won-t-dump-ALTERed-inherited-fields-td4390166.html

This isn't really a pg_dump deficiency. The bug is that we let you do
that ALTER. Inherited constraints shouldn't be droppable, and indeed
are not droppable except in the single case of NOT NULL. This is on the
to-fix list --- in fact there was a patch submitted for it last year,
although it got returned for rework and we've not seen it again yet.

The openERP schema should be fixed.