| From: | "MauMau" <maumau307(at)gmail(dot)com> |
|---|---|
| To: | "Michael Meskes" <meskes(at)postgresql(dot)org> |
| Cc: | <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: [9.3 bug fix] ECPG does not escape backslashes |
| Date: | 2013-07-05 11:32:50 |
| Message-ID: | 5F5F408615BF40AA924506241C5B569E@maumau |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
From: "Michael Meskes" <meskes(at)postgresql(dot)org>
> So that means MauMau was right and backslashes have to be escaped in
> filenames
> in #line directives, right? Apparently my examples were badly chosen as I
> didn't see an error no matter how many backslashes I had.
Yes, the below examples shows the case:
[maumau(at)myhost ~]$ touch ab\\c/a.pgc
[maumau(at)myhost ~]$ ecpg ab\\c/a.pgc
[maumau(at)myhost ~]$ gcc -c -I/tuna/pgsql/include ab\\c/a.c
ab\c/a.c:8:9: warning: unknown escape sequence '\c'
[maumau(at)myhost ~]$
> Committed to 8.4, 9.0, 9.1, 9.2 and HEAD.
Thank you very much for your quick support.
Regards
MauMau
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andres Freund | 2013-07-05 12:03:56 | Re: changeset generation v5-01 - Patches & git tree |
| Previous Message | Dean Rasheed | 2013-07-05 10:59:40 | Re: WITH CHECK OPTION for auto-updatable views |