(check) constraints on composite type - Mailing list pgsql-general

From Ralph Graulich
Subject (check) constraints on composite type
Date
Msg-id 32363388-741A-4435-B7B9-687FD78DDD64@shauny.de
Whole thread Raw
Responses Re: (check) constraints on composite type  ("David Johnston" <polobo@yahoo.com>)
List pgsql-general
Hi!

As of PostgreSQL 9.1 it is not possible to declare check constraints on composite types, according to
http://www.postgresql.org/docs/9.1/interactive/rowtypes.html.I cannot use domains in that particular context, because I
wantto have the check constraint check for a combination of fields in that composite type. 

Are there any plans to have this feature implemented in the near future?

Regards,
    Ralph

pgsql-general by date:

Previous
From: "Michael P. Soulier"
Date:
Subject: Re: memory leak
Next
From: "David Johnston"
Date:
Subject: Re: (check) constraints on composite type