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

From Andrew Dunstan
Subject Re: [9.3 bug fix] ECPG does not escape backslashes
Date
Msg-id 51D6B726.9040505@dunslane.net
Whole thread Raw
In response to Re: [9.3 bug fix] ECPG does not escape backslashes  (Michael Meskes <meskes@postgresql.org>)
Responses Re: [9.3 bug fix] ECPG does not escape backslashes
Re: [9.3 bug fix] ECPG does not escape backslashes
List pgsql-hackers
On 07/05/2013 05:16 AM, Michael Meskes wrote:
> On Wed, Jul 03, 2013 at 07:22:48PM +0900, MauMau wrote:
>> not specific to 9.3.  Could you commit and backport this?
> Committed to 8.4, 9.0, 9.1, 9.2 and HEAD.
>

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.

cheers

andrew




pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Proposal - Support for National Characters functionality
Next
From: Magnus Hagander
Date:
Subject: Re: LDAP: bugfix and deprecated OpenLDAP API