(check) constraints on composite type

From: Ralph Graulich <maillist(at)shauny(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: (check) constraints on composite type
Date: 2012-01-10 19:29:32
Message-ID: 32363388-741A-4435-B7B9-687FD78DDD64@shauny.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 want to 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Johnston 2012-01-10 19:44:02 Re: (check) constraints on composite type
Previous Message Michael P. Soulier 2012-01-10 19:17:58 Re: memory leak