Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group