]> granicus.if.org Git - postgresql/commit
Tweak the backend scanner (and psqlscan.l, which must track the backend
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 26 May 2005 01:24:29 +0000 (01:24 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 26 May 2005 01:24:29 +0000 (01:24 +0000)
commit15e4d1e2a7f565d805692daad895a07802279aea
tree67ef5cf474bad2e9d9ce1bee91c6317339a760ed
parent38af680ad51d98e895f1968c6cc9f808c88a7725
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.
src/backend/parser/scan.l
src/bin/psql/psqlscan.l