Re: Handling Blobs with libpq - Mailing list pgsql-interfaces

From Joe Conway
Subject Re: Handling Blobs with libpq
Date
Msg-id 3E7A3776.4080302@joeconway.com
Whole thread Raw
In response to Re: Handling Blobs with libpq  ("Nigel J. Andrews" <nandrews@investsystems.co.uk>)
List pgsql-interfaces
Nigel J. Andrews wrote:
> Also, someone recently pointed out that even with bytea if the client encoding
> is different when selecting than it was when storing there is still a chance
> that your data will be come out different to how it should.
> 

If you are using libpq in your own C program, one way around these 
issues (for retrieval anyway) is to use a binary cursor.

Joe



pgsql-interfaces by date:

Previous
From: "Nigel J. Andrews"
Date:
Subject: Re: Handling Blobs with libpq
Next
From: Bruce Momjian
Date:
Subject: Re: I want to send comments to the backend!