Handling Blobs with libpq

Поиск
Список
Период
Сортировка
От Stéphane Pinel
Тема Handling Blobs with libpq
Дата
Msg-id 196D6655-5AB9-11D7-8432-000A27AFF5D2@exenevex.com
обсуждение исходный текст
Список pgsql-interfaces
What is the best approach to handle blobs with libpq ?

I've read in documentation that there are 2 ways:

1- Bytea
2- Larges objects (lo_import)

My main need is storing pictures (like Jpegs etc). Doc says that (2) is 
more
appropriate but I need to work with blobs in memory, not from files.

Thanks for your help.

Stephane



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

Предыдущее
От: Sheshu
Дата:
Сообщение: esql problem
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: plpython problem.