Re: [9.3 bug fix] ECPG does not escape backslashes - Mailing list pgsql-hackers

From Michael Meskes
Subject Re: [9.3 bug fix] ECPG does not escape backslashes
Date
Msg-id 20130705125844.GA12214@feivel.credativ.lan
Whole thread Raw
In response to Re: [9.3 bug fix] ECPG does not escape backslashes  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
On Fri, Jul 05, 2013 at 08:08:06AM -0400, Andrew Dunstan wrote:
> This looks incomplete. Surely just escaping backslashes alone is not
> enough. I suspect at least the " char and any chars below 0x20
> should be quoted also.

Right, this didn't even occur to me, but there are surely more characters that
need to be escaped. Gotta dig into this.

Thanks for pointing this out.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at gmail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL



pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: LDAP: bugfix and deprecated OpenLDAP API
Next
From: Magnus Hagander
Date:
Subject: Re: [GENERAL] autoanalyze criteria