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
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Sunday, February 18, 2007 2:59 PM
To: Unmesh Churi
Subject: Re: [BUGS] BUG #3015: libpq: PQftype() on a lo type result
column returns Oid of type oid instead of Oid of type lo.
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
In response to
pgsql-bugs by date
|Next:||From: Jessica||Date: 2007-02-21 06:00:08|
|Subject: BUG #3044: what is correct configuration?|
|Previous:||From: Matt Smith||Date: 2007-02-20 23:50:36|
|Subject: BUG #3041: Universal Binary Support in Configure|