Handling Blobs with libpq

Поиск
Список
Период
Сортировка
От Stéphane Pinel
Тема Handling Blobs with libpq
Дата
Msg-id 41AAAA03-5ABA-11D7-8432-000A27AFF5D2@noos.fr
обсуждение исходный текст
Ответы Re: Handling Blobs with libpq  ("Jeroen T. Vermeulen" <jtv@xs4all.nl>)
Re: Handling Blobs with libpq  ("Nigel J. Andrews" <nandrews@investsystems.co.uk>)
Re: Handling Blobs with libpq  (Daniel Bruce Lynes <dlynes@shaw.ca>)
Список 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) or small blobs. 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 по дате отправления:

Предыдущее
От: Philip Yarra
Дата:
Сообщение: Re: [BUGS] Bug #904: Deallocating of prepared statement in ECPG at
Следующее
От: Gerhard Häring
Дата:
Сообщение: I want to send comments to the backend!