BUG #6024: pg_dump won't dump ALTERed inherited fields - Mailing list pgsql-bugs

From Panos Christeas
Subject BUG #6024: pg_dump won't dump ALTERed inherited fields
Date
Msg-id 201105120914.p4C9ELvP076791@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #6024: pg_dump won't dump ALTERed inherited fields
List pgsql-bugs
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.

pgsql-bugs by date:

Previous
From: fhaegele
Date:
Subject: Re: [GENERAL] postgresql-8.4 error -> BUG
Next
From: Robert Haas
Date:
Subject: Re: Adding a user without expiration date using pgAdmin III causes postgresql Beta1 to crash