Re: Need Help with BLOBs via DBI

Поиск
Список
Период
Сортировка
От Ludek Finstrle
Тема Re: Need Help with BLOBs via DBI
Дата
Msg-id 20011102114158.Y26355@anxur.fi.muni.cz
обсуждение исходный текст
Ответ на Need Help with BLOBs via DBI  (rullrich@web.de (Ralf Ullrich))
Список pgsql-interfaces
> im new to working with postgresql. As my backend language i' ve chosen
> perl and DBI. Everything works fine unless i try to insert the
> contents of a binary file via an webinterface in an BLOB-field. I read
> dbd::pg, but still i cant imagine how to do it. does anybody maybe
> have an working example?

See man DBD::Pg. There is $dbh->func(...) which support work with
lo [e.g. $lobj_fd = $dbh->func($lobjId, $mode, 'lo_open');].
You can read in Postgres doc about working with large objects.

Regards

Luf


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: ECPG - connection name in "EXEC SQL AT ... " statement
Следующее
От: Christof Petig
Дата:
Сообщение: Re: ECPG: Automatic Storage allocation for NULL-pointing