Re: PQunescapeBytea Question - Mailing list pgsql-general

From Kris Jurka
Subject Re: PQunescapeBytea Question
Date
Msg-id Pine.BSO.4.56.0408051510520.23098@leary.csoft.net
Whole thread Raw
In response to PQunescapeBytea Question  (Jerry LeVan <jerry.levan@eku.edu>)
List pgsql-general

On Thu, 5 Aug 2004, Jerry LeVan wrote:

> Is there any chance that PQunescapeBytea will
> always have a \000 at the end of the
> unescaped buffer?

What would the point of that be?  It's binary data and may have embedded
nulls so you'll need to always keep track of length separately.

Kris Jurka

pgsql-general by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: trash talk
Next
From: Greg Stark
Date:
Subject: Re: most idiomatic way to "update or insert"?