Domain Constraints - Mailing list pgsql-hackers

From Rod Taylor
Subject Domain Constraints
Date
Msg-id 1036774207.15373.107.camel@jester
Whole thread Raw
List pgsql-hackers
Any thoughts on how to display the domain constraints in psql?


a=# create domain d as integer not null check (value > 4);
CREATE DOMAIN
a=# create domain f as text check (value > 'bob') check (value < 'zip');
CREATE DOMAIN
a=# \dD         List of domainsSchema | Name |  Type   | Modifier 
--------+------+---------+----------public | d    | integer | not nullpublic | f    | text    | 
(2 rows)

Any thoughts on how to display the check constraints?

--  Rod Taylor



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PORTS] PostgreSQL supported platform report and a
Next
From: Stephan Szabo
Date:
Subject: Question about row visibility after locks