Re: PQunescapeBytea Question

From: Kris Jurka <books(at)ejurka(dot)com>
To: Jerry LeVan <jerry(dot)levan(at)eku(dot)edu>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: PQunescapeBytea Question
Date: 2004-08-05 20:11:44
Message-ID: Pine.BSO.4.56.0408051510520.23098@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ron St-Pierre 2004-08-05 20:13:47 Re: most idiomatic way to "update or insert"?
Previous Message Matteo Beccati 2004-08-05 19:51:57 Re: most idiomatic way to "update or insert"?