libpq, Large Objects, Type lo

Поиск
Список
Период
Сортировка
От PostgreSQL Admin
Тема libpq, Large Objects, Type lo
Дата
Msg-id 19990625154507.A16765@Gateway.mythos.org
обсуждение исходный текст
Список pgsql-interfaces
I have an app written in Borland C++ Builder accessing Blobs in the database

All is well, I have set up the user defined type of "lo" and 
the Borland Windows app add/deletes blobs beautifully.

The problem comes in the unix enviroment, where I would like to interact
with the blobs via libpq.

How to I access these blobs...
-------------------------------

select image_oid from footable where image_oid is not null;

image_oid
---------  136001


but ....

select lo_export(image_oid),'/tmp/foo.jpg') from footable where image_oid is not null;

ERROR:  No such function 'lo_export' with the specified attributes

this is from psql, and I get simialer errors from my small c proggie.

Thanks,Travis


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

Предыдущее
От: Byron Nikolaidis
Дата:
Сообщение: Re: [INTERFACES] ODBC 6.4 + PostgreSQL 6.5 = Can't browse tables
Следующее
От: "Chay Wesley"
Дата:
Сообщение: Re: [INTERFACES] ODBC 6.4 + PostgreSQL 6.5 = Can't browse tables