Re: [BUGS] BUG #4709: dump/restore introduces wrong CHECK constraint for inherited table

2009-03-17 Thread Tom Lane
"Andrey" writes: > Assume we have 2 tables with additionally added CHECK constraints: > ... > ALTER TABLE ONLY t ADD CONSTRAINT type_eq_zero CHECK (type = 0); The way this is addressed in CVS HEAD is that such commands are forbidden: regression=# ALTER TABLE ONLY t ADD CONSTRAINT type_eq_zero CH

[BUGS] BUG #4709: dump/restore introduces wrong CHECK constraint for inherited table

2009-03-17 Thread Andrey
The following bug has been logged online: Bug reference: 4709 Logged by: Andrey Email address: and...@ulab.ru PostgreSQL version: 8.3.6 Operating system: rhel-4-i386 Description:dump/restore introduces wrong CHECK constraint for inherited table Details: Assume we ha