Re: [exim] write support for db hash files on TODO?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Chris Lightfoot
Date:  
À: Mike Grice
CC: exim users
Sujet: Re: [exim] write support for db hash files on TODO?
On Sun, Aug 27, 2006 at 01:15:46PM +0100, Mike Grice wrote:
> On 27 Aug 2006, at 11:25, Radim Kolar wrote:
>
> > Are there any plans to implement write support for .db (Berkeley
> > db) files?
> > Exim can read them, but not write.
> >
> > It would be very useful because SQL access is much slower than
> > simple hash-file
> > and SQL connections have not fast start up.
>
> You'd be surprised.

    [ snip various reasonable points ]


Two further comments: if you want to do this then you can
already use perl's support for dbm files to do it; and if
you do, you should probably investigate something like TDB
where simply holding a read/write handle on the database
file won't block all other readers (modern Berkeley DB
would also do, I think).

--
``The male shall be deemed to embrace the female.''
(from the constitution of a university Methodist Society)