Re: PQescapeBytea* version for parameters - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: PQescapeBytea* version for parameters
Date
Msg-id 200707111615.l6BGFIF15530@momjian.us
Whole thread Raw
In response to Re: PQescapeBytea* version for parameters  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Gregory Stark <stark@enterprisedb.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.

'' is more standard than \' so we always use ''.

--  Bruce Momjian  <bruce@momjian.us>          http://momjian.us EnterpriseDB
http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: minor compiler warning on OpenBSD
Next
From: "Joshua D. Drake"
Date:
Subject: Re: doubt