| 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 |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| 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)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Neil Conway | 2005-05-26 02:04:15 | pgsql: Adjust datetime parsing to be more robust. |
| Previous Message | Bruce Momjian | 2005-05-26 00:16:32 | pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support which sets these values |