From: | Simon Riggs <simon(at)2ndquadrant(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: Speeding up the Postgres lexer |
Date: | 2005-05-24 06:40:43 |
Message-ID: | 1116916843.3844.472.camel@localhost.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, 2005-05-23 at 22:43 -0400, Tom Lane wrote:
> Based on the comments so far in this thread, I'll go ahead and commit
> the patch, with some comments attached of course --- in particular a big
> head comment to run flex with -b and see that lex.backup says something
> to this effect.
flex counts the number of times it needs to back up in a variable called
num_backing_up. It tests this to see whether to generate code
differently. ISTM you could have a -x switch to make it generate an
error if num_backing_up > 0.
Would we use the -x switch if we had it? If so I'll submit a patch here
first, then on to GNU. It'll take a while before it comes back round to
us though.
Best Regards, Simon Riggs
From | Date | Subject | |
---|---|---|---|
Next Message | ITAGAKI Takahiro | 2005-05-24 08:23:26 | Re: Notification when freespaces empty |
Previous Message | Achilleus Mantzios | 2005-05-24 06:21:18 | Re: ARRAY() returning NULL instead of ARRAY[] resp. {} |