Unix Technical Forum

Speeding up the Postgres lexer

This is a discussion on Speeding up the Postgres lexer within the pgsql Hackers forums, part of the PostgreSQL category; --> Simon Riggs <simon@2ndquadrant.com> writes: > Would we use the -x switch if we had it? Dunno. Depending on such ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 04-11-2008, 05:03 AM
Tom Lane
 
Posts: n/a
Default Re: Speeding up the Postgres lexer

Simon Riggs <simon@2ndquadrant.com> writes:
> Would we use the -x switch if we had it?


Dunno. Depending on such a thing would require depending on a new flex
version, and seeing that the flex guys haven't put out a new release
since the badly broken 2.5.31 more than 2 years ago, I wouldn't hold
my breath waiting for one we can use.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 04-11-2008, 05:03 AM
Neil Conway
 
Posts: n/a
Default Re: Speeding up the Postgres lexer

Tom Lane wrote:
> Dunno. Depending on such a thing would require depending on a new flex
> version, and seeing that the flex guys haven't put out a new release
> since the badly broken 2.5.31 more than 2 years ago, I wouldn't hold
> my breath waiting for one we can use.


It should be easy enough to check for the presence of the flag at
configure-time and only use it if flex implements it. Prior to reading
Simon's message I was actually thinking of hacking up the same thing ,
so I agree it is probably worth doing.

-Neil

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 04-11-2008, 05:13 AM
Simon Riggs
 
Posts: n/a
Default Re: Speeding up the Postgres lexer

On Wed, 2005-05-25 at 11:28 +1000, Neil Conway wrote:
> Tom Lane wrote:
> > Dunno. Depending on such a thing would require depending on a new flex
> > version, and seeing that the flex guys haven't put out a new release
> > since the badly broken 2.5.31 more than 2 years ago, I wouldn't hold
> > my breath waiting for one we can use.

>
> It should be easy enough to check for the presence of the flag at
> configure-time and only use it if flex implements it. Prior to reading
> Simon's message I was actually thinking of hacking up the same thing ,
> so I agree it is probably worth doing.


Neil,

I'll be doing this after the beta freeze is announced. If you wanted to
do this before then, I wouldn't stop you.

Best Regards, Simon Riggs




---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:37 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com