From: Tom Lane Date: Thu, 2 Jun 2005 17:45:19 +0000 (+0000) Subject: The no-lexer-backup speedup hadn't been there a week before somebody X-Git-Tag: REL8_1_0BETA1~672 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8dfb616606d411dd0ea7dc9980061cd9a94b1de7;p=postgresql The no-lexer-backup speedup hadn't been there a week before somebody broke it. Maybe we do need an automated check ... --- diff --git a/src/backend/parser/scan.l b/src/backend/parser/scan.l index 161a32861f..8fa672f018 100644 --- a/src/backend/parser/scan.l +++ b/src/backend/parser/scan.l @@ -24,7 +24,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/parser/scan.l,v 1.123 2005/06/02 01:23:08 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/parser/scan.l,v 1.124 2005/06/02 17:45:17 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -193,7 +193,7 @@ xnstart [nN]{quote} xqstart {quote} xqdouble {quote}{quote} xqinside [^\\']+ -xqescape [\\][^0-7x] +xqescape [\\][^0-7] xqoctesc [\\][0-7]{1,3} xqhexesc [\\]x[0-9A-Fa-f]{1,2} diff --git a/src/bin/psql/psqlscan.l b/src/bin/psql/psqlscan.l index d0e1dc80d2..a093b3703f 100644 --- a/src/bin/psql/psqlscan.l +++ b/src/bin/psql/psqlscan.l @@ -33,7 +33,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/bin/psql/psqlscan.l,v 1.13 2005/06/02 01:23:48 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/psql/psqlscan.l,v 1.14 2005/06/02 17:45:19 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -250,7 +250,7 @@ xnstart [nN]{quote} xqstart {quote} xqdouble {quote}{quote} xqinside [^\\']+ -xqescape [\\][^0-7x] +xqescape [\\][^0-7] xqoctesc [\\][0-7]{1,3} xqhexesc [\\]x[0-9A-Fa-f]{1,2}