Re: [HACKERS] Beta for 4:30AST ... ?

From: Hannu Krosing <hannu(at)tm(dot)ee>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Beta for 4:30AST ... ?
Date: 2000-02-22 10:14:39
Message-ID: 38B2618F.E12DB5@tm.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
>
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> >> ERROR: ALTER TABLE / DROP CONSTRAINT is not implemented
>
> > I thought that was going in. According to Marc, if it sufficiently
> > warned users, and required them to type it twice, it would do Peter's
> > alter table code. Perhaps Peter decided to wait for 7.1?
>
> I thought the rest of us beat him up until he took it out ;-)
>

Was'nt that DROP COLUMN ?

Is'nt DROP CONSTRAINT something completely different ?

AFAIK constraints are not (should not;) be implemented as extra columns,
even though they look like it in CREATE TABLE clause.

So removing them would actually mean deleting some rows from some system
table(s). And you don't even have to check the validity of existing data as
have to when doing ADD CONSTRAINT.

----------------
Hannu

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Karel Zak - Zakkr 2000-02-22 10:26:11 Re: [HACKERS] Beta for 4:30AST ... ?
Previous Message Tatsuo Ishii 2000-02-22 10:13:25 Re: [HACKERS] psql and pager