Re: row description, protocol 3

From: "Josh Close" <narshe(at)gmail(dot)com>
To: "John DeSoi" <desoi(at)pgedit(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: row description, protocol 3
Date: 2006-03-01 01:13:39
Message-ID: 4a0cafe20602281713p4387cda4p6e25f3b37a8c3ab8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

>
> 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.

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message John DeSoi 2006-03-01 13:01:25 Re: row description, protocol 3
Previous Message Philip Yarra 2006-03-01 00:18:13 Re: multiple threads using one connection