Re: BUG #3015: libpq: PQftype() on a lo type result column returns Oid of type oid instead of Oid of type lo. - Mailing list pgsql-bugs

From Unmesh Churi
Subject Re: BUG #3015: libpq: PQftype() on a lo type result column returns Oid of type oid instead of Oid of type lo.
Date
Msg-id D730FF7CEDDCA64483F9E99D999A158BDB5223@qxvcexch01.ad.quovadx.com
Whole thread Raw
In response to BUG #3015: libpq: PQftype() on a lo type result column returns Oid of type oid instead of Oid of type lo.  ("" <churi@roguewave.com>)
List pgsql-bugs
I guess the only option left for 8.2.x then is to PQftable() and
PQftablecol() on the result and then query the pg_attribute to figure
out the type. The penalty would be an additional server round-trip and
query execution per OID type fetched, which may be considerable.
Changing 'lo' back to the independent type for 8.3.x, will help
significantly in increasing performance and reducing complexity. Thank
you.

Unmesh


-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]=20
Sent: Sunday, February 18, 2007 2:59 PM
To: Unmesh Churi
Cc: pgsql-bugs@postgresql.org
Subject: Re: [BUGS] BUG #3015: libpq: PQftype() on a lo type result
column returns Oid of type oid instead of Oid of type lo.=20

Well, we could change type 'lo' back to an independent type as of 8.3,
but I'm not sure that will help you --- 8.1 and 8.2 are doing it as a
domain and we can't retroactively change that situation.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Michael Meskes
Date:
Subject: Re: BUG #2973: Compile Error with MIPSpro compiler
Next
From: Zdenek Kotala
Date:
Subject: Re: BUG #2969: Inaccuracies in Solaris FAQ