1250kv <1250kv(at)gmail(dot)com> writes:
> void main()
> {
> char *foo = "aaa\"bbb";
> EXEC SQL char *bar = "aaa\"bbb";
> }
> ecpg sample.pgc -o 1.c
> sample .pgc:10: ERROR: unterminated quoted identifier
I don't really see a bug there. While I'm not an ecpg expert by
any means, I'd expect the EXEC SQL section to parse quoted strings
according to SQL rules not C rules. And under SQL, that's not
what you do to write a valid quoted identifier.
regards, tom lane