Re: alter table and constraints - Mailing list pgsql-general

From Martin A. Marques
Subject Re: alter table and constraints
Date
Msg-id Pine.LNX.4.10.10008251527260.28169-100000@math.unl.edu.ar
Whole thread Raw
In response to alter table and constraints  ("Martin A. Marques" <martin@math.unl.edu.ar>)
Responses Re: alter table and constraints
List pgsql-general
On Fri, 25 Aug 2000, Peter Eisentraut wrote:

> Martin A. Marques writes:
>
> > I don't know if this is posible, but I'm trying to add and delete
> > constrains from a table. Is this posible and why am I having so much
> > problems?
>
> Because it only works for foreign keys. If you are talking about foreign
> key contraints then you should define "problems" better.

No, it was a primary key.
Can I change the constraint of NULL in a column? And what should I do if
I want to add a primary key to a table?


"And I'm happy, because you make me feel good, about me." - Melvin Udall
-----------------------------------------------------------------
Martín Marqués            email:     martin@math.unl.edu.ar
Santa Fe - Argentina        http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------


pgsql-general by date:

Previous
From: Matthew Rice
Date:
Subject: Re: Creating a DB for another user (or...) (repost attempt)
Next
From: George Robinson II
Date:
Subject: vacuumdb failed