pgsql: Tweak the backend scanner (and psqlscan.l, which must track the - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Tweak the backend scanner (and psqlscan.l, which must track the
Date
Msg-id 20050526012430.14F3952848@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/backend/parser:
        scan.l (r1.121 -> r1.122)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/scan.l.diff?r1=1.121&r2=1.122)
    pgsql/src/bin/psql:
        psqlscan.l (r1.9 -> r1.10)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/psqlscan.l.diff?r1=1.9&r2=1.10)

pgsql-committers by date:

Previous
From: momjian@svr1.postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support which sets these values
Next
From: neilc@svr1.postgresql.org (Neil Conway)
Date:
Subject: pgsql: Adjust datetime parsing to be more robust.