pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Conway <mail@joeconway.com>
To: Nigel J. Andrews <nandrews@investsystems.co.uk>
Cc: Stéphane Pinel <spinel@noos.fr>
Cc: PostgreSQL-interfaces <pgsql-interfaces@postgresql.org>
Subject: Re: Handling Blobs with libpq
Date: Thu, 20 Mar 2003 13:49:42 -0800
Message-ID: <3E7A3776.4080302@joeconway.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0303202135500.10910-100000@ponder.fairway2k.co.uk>
References: <Pine.LNX.4.21.0303202135500.10910-100000@ponder.fairway2k.co.uk>

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




view thread (6+ messages)  latest in thread

Message-ID: <3E7A3776.4080302@joeconway.com>
Permalink:  ../3E7A3776.4080302@joeconway.com/
Also on:    postgresql.org/message-id/3E7A3776.4080302@joeconway.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: mail@joeconway.com, nandrews@investsystems.co.uk, spinel@noos.fr
  Subject: Re: Handling Blobs with libpq
  In-Reply-To: <3E7A3776.4080302@joeconway.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox