]> granicus.if.org Git - postgresql/commitdiff
The no-lexer-backup speedup hadn't been there a week before somebody
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 Jun 2005 17:45:19 +0000 (17:45 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 Jun 2005 17:45:19 +0000 (17:45 +0000)
broke it.  Maybe we do need an automated check ...

src/backend/parser/scan.l
src/bin/psql/psqlscan.l

index 161a32861f624fbcc0b2f2a34163ee948a1955e6..8fa672f01822ee8442bad7f7ca1f91415f528098 100644 (file)
@@ -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}
 
index d0e1dc80d202546566661c8d6ad9add8299ab8e4..a093b3703f5d6ad31f73088d24a995ecb0269904 100644 (file)
@@ -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}