Florian Weimer writes:
> In addition, there seems to be a bug in the treatment of "" escapes in
> identifiers. 'SELECT """";' yields the error message 'Attribute '""'
> not found ' (not '"'!) or even 'Attribute '""\' not found', depending
> on the queries executed before.
A bug indeed.
RCS file: /home/projects/pgsql/cvsroot/pgsql/src/backend/parser/scan.l,v
retrieving revision 1.88
diff -u -r1.88 scan.l
--- scan.l 2001/03/22 17:41:47 1.88
+++ scan.l 2001/09/03 22:11:46
@@ -375,7 +375,7 @@ return IDENT; }<xd>{xddouble}
{
- addlit(yytext, yyleng-1);
+ addlit(yytext+1, yyleng-1); }<xd>{xdinside} {
addlit(yytext, yyleng);
===end
--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter