Re: domains, types, constraints

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Winkler <the_andrew_winkler(at)yahoo(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: domains, types, constraints
Date: 2008-01-16 04:55:34
Message-ID: 17911.1200459334@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Andrew Winkler <the_andrew_winkler(at)yahoo(dot)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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Durgaprasad Pawar 2008-01-16 06:22:23 High CPU utilization with various index combinations
Previous Message Andrew Winkler 2008-01-16 04:12:28 domains, types, constraints