Re: repost of how to do select in a constraint

From: Dennis Gearon <gearond(at)cvc(dot)net>
To: pgsql-general(at)postgresql(dot)org, "Peter Gibbs" <peter(at)emkel(dot)co(dot)za>
Subject: Re: repost of how to do select in a constraint
Date: 2003-01-21 23:44:11
Message-ID: OLSRCBVHDXS05LI0862OL1V75SNGDRQ.3e2ddb4b@cal-lab
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Can I reference a function in a column check constraint, when the function doesn't yet exist,
i.e. a the time of table creation?

Or is it better to make the table, create the function, then alter table with a check
constraint?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message eric@did-it.com 2003-01-22 00:00:45 Re: Altering a table - positioning new columns
Previous Message will trillich 2003-01-21 23:43:50 Re: Altering a table - positioning new columns