BUG #6024: pg_dump won't dump ALTERed inherited fields

From: "Panos Christeas" <xrg(at)linux(dot)gr>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6024: pg_dump won't dump ALTERed inherited fields
Date: 2011-05-12 09:14:21
Message-ID: 201105120914.p4C9ELvP076791@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 6024
Logged by: Panos Christeas
Email address: xrg(at)linux(dot)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.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Haas 2011-05-12 14:31:23 Re: Adding a user without expiration date using pgAdmin III causes postgresql Beta1 to crash
Previous Message fhaegele 2011-05-12 06:32:15 Re: [GENERAL] postgresql-8.4 error -> BUG