Re: PQescapeString handling of \0

From: "Jeroen T(dot) Vermeulen" <jtv(at)xs4all(dot)nl>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: greg(at)turnstep(dot)com, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: PQescapeString handling of \0
Date: 2003-10-03 16:05:27
Message-ID: 20031003160527.GD75826@xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 2003-10-03 18:27:49 Re: PQescapeString handling of \0
Previous Message Tom Lane 2003-10-03 16:02:03 Re: PQescapeString handling of \0