pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Close <narshe@gmail.com>
To: John DeSoi <desoi@pgedit.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: row description, protocol 3
Date: Tue, 28 Feb 2006 19:13:39 -0600
Message-ID: <4a0cafe20602281713p4387cda4p6e25f3b37a8c3ab8@mail.gmail.com> (raw)
In-Reply-To: <3981A0F6-5530-41F8-A232-F95B962DB5C4@pgedit.com>
References: <4a0cafe20602272153s7a3e0c2fme8516170675df1e0@mail.gmail.com>
	<3981A0F6-5530-41F8-A232-F95B962DB5C4@pgedit.com>

>
> The oid maps to the pg_type table:
>
> select oid, typname from pg_type order by oid;
>

So, after a select is done, and I get a row description back, I need to do
another query to find out what the actual type was?

I'm writing a dataprovider, so I need to map the types back to .NET types.
It seems kinda odd that you'd have to do a second query to find out the
type.

view thread (5+ messages)  latest in thread

Message-ID: <4a0cafe20602281713p4387cda4p6e25f3b37a8c3ab8@mail.gmail.com>
Permalink:  ../4a0cafe20602281713p4387cda4p6e25f3b37a8c3ab8@mail.gmail.com/
Also on:    postgresql.org/message-id/4a0cafe20602281713p4387cda4p6e25f3b37a8c3ab8@mail.gmail.com

 · 

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: narshe@gmail.com, desoi@pgedit.com
  Subject: Re: row description, protocol 3
  In-Reply-To: <4a0cafe20602281713p4387cda4p6e25f3b37a8c3ab8@mail.gmail.com>

* 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