| From: | "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com> | 
|---|---|
| To: | Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> | 
| Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> | 
| Subject: | Re: Add check constraint bug | 
| Date: | 2002-09-05 22:57:32 | 
| Message-ID: | Pine.LNX.4.33.0209051657150.17154-100000@css120.ihs.com | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-hackers | 
On Thu, 5 Sep 2002, Stephan Szabo wrote:
> 
> On Thu, 5 Sep 2002, Peter Eisentraut wrote:
> 
> > The following happens in latest CVS and a fresh database:
> >
> > create table test (a int);
> > insert into test values (1);
> > alter table test add column b text check (b <> '');
> > alter table test add check (a > 0);
> > alter table test add check (a <> 1);
> >
> > After the last command I get
> >
> > ERROR:  CheckConstraintFetch: unexpected record found for rel test
> >
> > and then the table seems to be wedged because any access to it will get
> > the same error.
Just fyi, 7.2.1 does this too.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2002-09-05 23:52:58 | Re: Add check constraint bug | 
| Previous Message | Stephan Szabo | 2002-09-05 22:49:40 | Re: Add check constraint bug |