Re: [9.3 bug fix] ECPG does not escape backslashes

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: MauMau <maumau307(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [9.3 bug fix] ECPG does not escape backslashes
Date: 2013-07-05 12:08:06
Message-ID: 51D6B726.9040505@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2013-07-05 12:17:25 Re: Proposal - Support for National Characters functionality
Previous Message Andres Freund 2013-07-05 12:03:56 Re: changeset generation v5-01 - Patches & git tree