Re: [HACKERS] Reinventing the wheel...

2003-07-21 Thread Peter Galbavy
Sean Chittenden wrote: > To prevent lib naming collisions with machines that have libevent > installed, I plan on renaming all of the functions from event_* to > pgevent_*. libevent also has the appropriate autoconf goo to make > detection of the right library pretty seamless. It even supports th

Re: [HACKERS] Reinventing the wheel...

2003-07-20 Thread Tom Lane
Sean Chittenden <[EMAIL PROTECTED]> writes: > ... Because this library > provides a much more general interface that makes use of an OSes > optimal FD event system call, is BSD licensed (standard 3-4 clause > license), and should be very portable, would would anyone object if I > integrated this in

[HACKERS] Reinventing the wheel...

2003-07-20 Thread Sean Chittenden
While talking with someone about code portability and building in a scalable persistent connection manager into PostgreSQL, someone pointed me to libevent's existence . In the past, I'd always rewritten this wrapper by hand every time I needed to do handle providing a generic kqueue/poll/select.