Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 9F0D613381A9 for ; Thu, 12 May 2011 06:18:28 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 92438-02-9 for ; Thu, 12 May 2011 09:18:28 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id EC7A01337DC5 for ; Thu, 12 May 2011 06:14:21 -0300 (ADT) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p4C9ELoX076792 for ; Thu, 12 May 2011 09:14:21 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p4C9ELvP076791; Thu, 12 May 2011 09:14:21 GMT (envelope-from www) Date: Thu, 12 May 2011 09:14:21 GMT Message-Id: <201105120914.p4C9ELvP076791@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #6024: pg_dump won't dump ALTERed inherited fields From: "Panos Christeas" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201105/107 X-Sequence-Number: 30246 The following bug has been logged online: Bug reference: 6024 Logged by: Panos Christeas Email address: xrg@linux.gr PostgreSQL version: 9.0, 8.4 Operating system: Linux Description: pg_dump won't dump ALTERed inherited fields Details: CREATE TABLE test1( id SERIAL PRIMARY KEY, name VARCHAR(20) NOT NULL ); CREATE TABLE test2( description TEXT ) INHERITS(test1); ALTER TABLE test2 ALTER name DROP NOT NULL; pg_dump that. The dump will still have "not null" constraint at test2.name.