Re: Data types?

From: "Timothy H(dot) Keitt" <Timothy(dot)Keitt(at)StonyBrook(dot)Edu>
To:
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Data types?
Date: 2001-03-08 18:00:05
Message-ID: 3AA7C8A5.2090004@StonyBrook.Edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

If you need to know the OID of a type (e.g., for use in libpq) I find

select oid, typname from pg_type

useful. By the way, what are all those types prefixed with an
underscore? Are these ever delivered to a client?

Tim

Tom Lane wrote:

> Christopher Sawtell <csawtell(at)xtra(dot)co(dot)nz> writes:
>
>> On Thu, 08 Mar 2001 12:29, Flemming Frøkjær wrote:
>>
>>> How do i find out what data types are available in PostgreSQL.
>>
>
>> Look in the regression tests. Interesting stuff.
>
>
> And there's always "select * from pg_type" ... not to mention the source
> code ...
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html

--
Timothy H. Keitt
Department of Ecology and Evolution
State University of New York at Stony Brook
Phone: 631-632-1101, FAX: 631-632-7626
http://life.bio.sunysb.edu/ee/keitt/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Matthew 2001-03-08 18:36:22 SQL Question
Previous Message Brian C. Doyle 2001-03-08 17:31:44 Win32 Postgresql