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 20130704123136.GA8898@feivel.credativ.lan
Whole thread Raw
In response to Re: [9.3 bug fix] ECPG does not escape backslashes  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: [9.3 bug fix] ECPG does not escape backslashes
List pgsql-hackers
On Thu, Jul 04, 2013 at 07:58:39AM -0400, Andrew Dunstan wrote:
> >michael@feivel:~$ grep line test\\\\a/init.c |head -1
> >#line 1 "test\\a/init.pgc"
> ...
> 
> Really? I'd expect to see 4 backslashes in the #line directive, I think.

Eh, why? The four backslashes come are two that are escaped for shell usage.
The directory name is in my example was "test\\a". What did I miss?

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: KONDO Mitsumasa
Date:
Subject: Re: Improvement of checkpoint IO scheduler for stable transaction responses
Next
From: Dimitri Fontaine
Date:
Subject: Re: in-catalog Extension Scripts and Control parameters (templates?)