pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
To: pgsql-interfaces@postgresql.org
Subject: Type OIDs
Date: Wed, 03 Jun 2009 20:45:16 +0200
Message-ID: <877hztupfn.fsf@mid.deneb.enyo.de> (raw)

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.



view thread (6+ messages)  latest in thread

Message-ID: <877hztupfn.fsf@mid.deneb.enyo.de>
Permalink:  ../877hztupfn.fsf@mid.deneb.enyo.de/
Also on:    postgresql.org/message-id/877hztupfn.fsf@mid.deneb.enyo.de

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: fw@deneb.enyo.de
  Subject: Re: Type OIDs
  In-Reply-To: <877hztupfn.fsf@mid.deneb.enyo.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox