Re: DOMAIN usability

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Rajesh Kumar Mallah <mallah(at)trade-india(dot)com>
Cc: pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Re: DOMAIN usability
Date: 2003-11-13 17:50:11
Message-ID: Pine.LNX.4.44.0311131848190.17499-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Rajesh Kumar Mallah writes:

> *1.* Suppose varchar(30) turns out to be too small oneday
> and we want to increase it to varchar(100) , what do i do ?

This is no different from the problem of changing a column type in place.
It's still being worked on.

> *2.* Its difficult to see all the constraint defs on a domain .
> information_schema.domain_constriants does not have the
> definations just the names are present.

You need to join domain_constraints and check_constraints.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-11-13 18:03:45 Re: Curious about exclusive table locks
Previous Message Uwe C. Schroeder 2003-11-13 17:42:35 Re: Curious about exclusive table locks