Re: oid data types mapping in libpq functions

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: zhong ming wu <mr(dot)z(dot)m(dot)wu(at)gmail(dot)com>
Subject: Re: oid data types mapping in libpq functions
Date: 2010-06-17 14:14:53
Message-ID: 201006170714.53315.adrian.klaver@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wednesday 16 June 2010 7:42:02 pm zhong ming wu wrote:
> Dear List
>
> Where can I find this mapping of oid to pg data types mentioned in
> libpq documentation?
> Why is such information not mentioned in the documentation? A general
> knowledge?
>
> Thanks
>
> Mr Wi

I think you are looking for the table pg_type.

SELECT oid,typname from pg_type;

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2010-06-17 14:32:01 Re: oid data types mapping in libpq functions
Previous Message Leonardo F 2010-06-17 13:32:16 Re: Given N, finding the interval of N hours with max(sum(..))