Handling Blobs with libpq - Mailing list pgsql-interfaces

From Stéphane Pinel
Subject Handling Blobs with libpq
Date
Msg-id 196D6655-5AB9-11D7-8432-000A27AFF5D2@exenevex.com
Whole thread Raw
List 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 by date:

Previous
From: Sheshu
Date:
Subject: esql problem
Next
From: Bruce Momjian
Date:
Subject: Re: plpython problem.