Re: PQescapeBytea* version for parameters

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: "PostgreSQL-development Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PQescapeBytea* version for parameters
Date: 2007-07-11 15:54:50
Message-ID: 26351.1184169290@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Gregory Stark <stark(at)enterprisedb(dot)com> writes:
> Shouldn't it escape ' as \' and not '' if standard_conforming_strings is
> false?

No. That's always worked and there's no reason to change it.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-07-11 15:59:13 Re: minor compiler warning on OpenBSD
Previous Message Heikki Linnakangas 2007-07-11 15:44:12 Re: 2PC-induced lockup