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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #3015: libpq: PQftype() on a lo type result column returns Oid of type oid instead of Oid of type lo.
Дата
Msg-id 10980.1171605432@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #3015: libpq: PQftype() on a lo type result column returns Oid of type oid instead of Oid of type lo.  ("Unmesh Churi" <churi@roguewave.com>)
Список pgsql-bugs
"Unmesh Churi" <churi@roguewave.com> writes:
> Thanks Tom. I used to rely on the PQftype() to determine if the OIDs
> stored in that result field are pointing to large objects or not. If
> they are large objects, I used to fetch them using lo_* API.
> Now since PQftype() returns type oid for type lo columns, how will I
> identify if a result column contains large objects or not?

Do you need to identify that?  What other use-case has your application
got for fetching OID columns?

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Segfaults and assertion failures with not too extraordinary views and queries
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #3012: Wrong JOIN order when a JOIN depends on result from a LEFT JOIN.