Type OIDs

From: Florian Weimer <fw(at)deneb(dot)enyo(dot)de>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Type OIDs
Date: 2009-06-03 18:45:16
Message-ID: 877hztupfn.fsf@mid.deneb.enyo.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

I'd like to use type information in a query result to convert its
elements to more appropriate types if necessary.

Can I embed the types I'm interested in into my program, or should I
query the server at least once per connection to get the mapping? I'm
interested in types such as INTEGER, TEXT, BYTEA, etc. No user
defined types, and nothing fancy. Ultra-long-term portability isn't
required, either.

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 2009-06-03 19:26:28 Re: Type OIDs
Previous Message Pavel Golub 2009-05-27 10:03:55 Keep alive in libpq