Re: How to list domains

From: Alexander Cohen <alex(at)toomuchspace(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to list domains
Date: 2004-04-07 21:26:08
Message-ID: 2F44CAF3-88DA-11D8-8E54-000A95B947DC@toomuchspace.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Yes, i just discovered that. Thanks! Actually im trying to display in
an app of mine a list of all types to the user. That goes fine but i
noticed that that list does not have "integer", "double precision" and
simple type names like that. I thought they would be domains. But i
guess they are not. Where can i find these types? What are they?

--
Alexander Cohen
http://www.toomuchspace.com
(819) 348-9237
(819) 432-3443

On Apr 7, 2004, at 2:47 PM, Bruce Momjian wrote:

> Alexander Cohen wrote:
>> How can i get list of all domains available?
>
> Using psql, domains are listed with \dD. They also appear in \dT.
>
> --
> Bruce Momjian | http://candle.pha.pa.us
> pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
> + If your life is a hard drive, | 13 Roberts Road
> + Christ can be your backup. | Newtown Square, Pennsylvania
> 19073
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ciprian Popovici 2004-04-07 21:43:30 Are functions automatically transactioned?
Previous Message Richard Huxton 2004-04-07 20:53:08 Re: Error numbers