aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-06-02 17:45:19 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-06-02 17:45:19 +0000
commit8dfb616606d411dd0ea7dc9980061cd9a94b1de7 (patch)
tree21c4946abe584164790bd01eae4cfe12c43546c2 /src
parent2d5d691d15d041f9ef68fa3bdd65fabeb82d4b8d (diff)
downloadpostgresql-8dfb616606d411dd0ea7dc9980061cd9a94b1de7.tar.gz
postgresql-8dfb616606d411dd0ea7dc9980061cd9a94b1de7.zip
The no-lexer-backup speedup hadn't been there a week before somebody
broke it. Maybe we do need an automated check ...
Diffstat (limited to 'src')
-rw-r--r--src/backend/parser/scan.l4
-rw-r--r--src/bin/psql/psqlscan.l4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/parser/scan.l b/src/backend/parser/scan.l
index 161a32861f6..8fa672f0182 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 d0e1dc80d20..a093b3703f5 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}