Re: Handling Blobs with libpq

From: Joe Conway <mail(at)joeconway(dot)com>
To: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>
Cc: Stéphane Pinel <spinel(at)noos(dot)fr>, PostgreSQL-interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: Handling Blobs with libpq
Date: 2003-03-20 21:49:42
Message-ID: 3E7A3776.4080302@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Jeff Davis 2003-03-21 03:55:38 Re: Roadmap for FE/BE protocol redesign
Previous Message Nigel J. Andrews 2003-03-20 21:44:36 Re: Handling Blobs with libpq