Tweak the backend scanner (and psqlscan.l, which must track the backend

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 15e4d1e2a7f565d805692daad895a07802279aea
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-05-26T01:24:29Z
Releases: 8.1.0
Tweak the backend scanner (and psqlscan.l, which must track the backend
scanner anyway) to avoid having any backup states.  According to the
flex manual, this should speed things up, and indeed the backend scanner
is about a third faster according to some quick profiling checks.
I haven't tried to measure the speed change in psql, but it probably
is similar.

Files

PathChange+/−
src/backend/parser/scan.l modified +85 −22
src/bin/psql/psqlscan.l modified +76 −19