Type OIDs - Mailing list pgsql-interfaces

From Florian Weimer
Subject Type OIDs
Date
Msg-id 877hztupfn.fsf@mid.deneb.enyo.de
Whole thread Raw
Responses Re: Type OIDs  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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.


pgsql-interfaces by date:

Previous
From: Pavel Golub
Date:
Subject: Keep alive in libpq
Next
From: Tom Lane
Date:
Subject: Re: Type OIDs