Bug in 8.2 (&8.1) dump & restore

From: Scott Ribe <scott_ribe(at)killerbytes(dot)com>
To: "pgsql-general postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Bug in 8.2 (&8.1) dump & restore
Date: 2007-01-04 20:17:41
Message-ID: C1C2AEF5.5EFE8%scott_ribe@killerbytes.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

create database test;
\c test
create table base (foo int not null);
create table derived () inherits (base);
alter table derived alter foo drop not null;
insert into derived values(null);

Dump it, and the dump will not include any command to drop the not null
constraint on derived.foo, so restore will fail.

--
Scott Ribe
scott_ribe(at)killerbytes(dot)com
http://www.killerbytes.com/
(303) 722-0567 voice

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John McCawley 2007-01-04 20:18:13 Re: Any form of connection-level "session variable" ?
Previous Message Tom Lane 2007-01-04 20:13:24 Re: Any form of connection-level "session variable" ?