pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeroen T. Vermeulen <jtv@xs4all.nl>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: greg@turnstep.com
Cc: pgsql-interfaces@postgresql.org
Subject: Re: PQescapeString handling of \0
Date: Fri, 3 Oct 2003 18:05:27 +0200
Message-ID: <20031003160527.GD75826@xs4all.nl> (raw)
In-Reply-To: <26244.1065196923@sss.pgh.pa.us>
References: <c4029001e28eb9350effc9118d391bc9@biglumber.com>
	<19872.1065195062@sss.pgh.pa.us>
	<20031003155101.GC75826@xs4all.nl>
	<26244.1065196923@sss.pgh.pa.us>

On Fri, Oct 03, 2003 at 12:02:03PM -0400, Tom Lane wrote:
> 
> I think you might be confusing PQescapeString (intended for text) with
> PQescapeBytea (intended for binary data).  We do not support any text

I'm certain that I'm confusing those two--what I don't know is whether
that's necessarily a bad thing.  What exactly constitutes a binary 
string?  Do strings of text with some weird bytes in them fit the 
definition?


Jeroen




view thread (9+ messages)  latest in thread

Message-ID: <20031003160527.GD75826@xs4all.nl>
Permalink:  ../20031003160527.GD75826@xs4all.nl/
Also on:    postgresql.org/message-id/20031003160527.GD75826@xs4all.nl

 · 

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: jtv@xs4all.nl, tgl@sss.pgh.pa.us, greg@turnstep.com
  Subject: Re: PQescapeString handling of \0
  In-Reply-To: <20031003160527.GD75826@xs4all.nl>

* 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