Modifying check constraints - Mailing list pgsql-general

From Paulo Jan
Subject Modifying check constraints
Date
Msg-id 3BF2B778.6062582@digital.ddnet.es
Whole thread Raw
Responses Re: Modifying check constraints  ("Thalis A. Kalfigopoulos" <thalis@cs.pitt.edu>)
Re: Modifying check constraints  (Jason Earl <jason.earl@simplot.com>)
Re: Modifying check constraints  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List pgsql-general
Hi all:

        Let's suppose I create a table with a CHECK constraint, like:

        CREATE TABLE blabla (id int, tipo varchar(8),
        CHECK tipo IN ('tipo1', 'tipo2', 'tipo3'))

        Can I change the CHECK constraint afterwards? For example, can I
add another value that "tipo" can have, or I'd have to recreate the
table?



                                                Paulo Jan.
                                                DDnet.

pgsql-general by date:

Previous
From: Luis Amigo
Date:
Subject: multiple hard disk
Next
From: "Bryan White"
Date:
Subject: Re: multiple hard disk