Skip site navigation (1) Skip section navigation (2)

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

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Tweak the backend scanner (and psqlscan.l, which must track the
Date: 2005-05-26 01:24:30
Message-ID: 20050526012430.14F3952848@svr1.postgresql.org (view raw or flat)
Thread:
Lists: 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

Next:From: Neil ConwayDate: 2005-05-26 02:04:15
Subject: pgsql: Adjust datetime parsing to be more robust.
Previous:From: Bruce MomjianDate: 2005-05-26 00:16:32
Subject: pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support which sets these values

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group