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

Поиск
Список
Период
Сортировка
От Unmesh Churi
Тема Re: BUG #3015: libpq: PQftype() on a lo type result column returns Oid of type oid instead of Oid of type lo.
Дата
Msg-id D730FF7CEDDCA64483F9E99D999A158BDB5223@qxvcexch01.ad.quovadx.com
обсуждение исходный текст
Ответ на BUG #3015: libpq: PQftype() on a lo type result column returns Oid of type oid instead of Oid of type lo.  ("" <churi@roguewave.com>)
Список 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 по дате отправления:

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: BUG #2973: Compile Error with MIPSpro compiler
Следующее
От: Zdenek Kotala
Дата:
Сообщение: Re: BUG #2969: Inaccuracies in Solaris FAQ