Re: domains, types, constraints - Mailing list pgsql-novice

From Tom Lane
Subject Re: domains, types, constraints
Date
Msg-id 17911.1200459334@sss.pgh.pa.us
Whole thread Raw
In response to domains, types, constraints  (Andrew Winkler <the_andrew_winkler@yahoo.com>)
List pgsql-novice
Andrew Winkler <the_andrew_winkler@yahoo.com> writes:
> I'm having trouble with types and domains. I can create a type, but then when I try to create constraints
> using the components of the type, I get syntax errors. I've read through the pdf several times, to no avail.
> Things like (value).component, component(value), value::component, for example, all generate errors.

This is nearly content-free :-(.  Show us exactly what commands you
tried and what errors you got.  (Cut and paste from a terminal window
is good.)

            regards, tom lane

pgsql-novice by date:

Previous
From: Andrew Winkler
Date:
Subject: domains, types, constraints
Next
From: Durgaprasad Pawar
Date:
Subject: High CPU utilization with various index combinations