Re: Backslashes in bytea values

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Lewis Kapell" <lkapell(at)setonhome(dot)org>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Backslashes in bytea values
Date: 2009-12-18 20:43:44
Message-ID: 4B2B9520020000250002D7A0@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Lewis Kapell <lkapell(at)setonhome(dot)org> wrote:

> I forgot to mention that all of these insertions are being done
> via PHP scripts, and we are using the pg_escape_bytea function
> (part of the PHP Postgres extension) to escape the data being
> inserted into bytea columns. Rather important item, that.
>
> Does this address all the concerns which you raised?

I'm not familiar with that extension or its functions, but it sounds
like you're probably in better shape than I thought when I read your
first email. :-)

Perhaps someone who knows that extension can comment on the issues
around E'' literals, the escape_string_warning setting and the
standard_conforming_strings setting.

-Kevin

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Lewis Kapell 2009-12-18 21:35:15 Re: Backslashes in bytea values
Previous Message Lewis Kapell 2009-12-18 20:33:45 Re: Backslashes in bytea values