Re: CHECK() Constraint on Column Using Lookup Table

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: CHECK() Constraint on Column Using Lookup Table
Date: 2007-05-01 18:09:40
Message-ID: Pine.LNX.4.64.0705011109000.22056@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 1 May 2007, Joshua D. Drake wrote:

> You could use a function, or a foreign key.

Josh,

The foreign key approach will do nicely.

Thanks,

Rich

--
Richard B. Shepard, Ph.D. | The Environmental Permitting
Applied Ecosystem Services, Inc. | Accelerator(TM)
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Glaesemann 2007-05-01 18:20:53 Re: CHECK() Constraint on Column Using Lookup Table
Previous Message A. Kretschmer 2007-05-01 18:03:02 Re: CHECK() Constraint on Column Using Lookup Table