Changing default database [WAS: syncing custom IMAP flags]

Ng Oon-Ee ngoonee at gmail.com
Sat Dec 4 13:03:58 GMT 2010


On Sat, 2010-12-04 at 12:45 +0100, Nicolas Sebrecht wrote:
> On Sun, Nov 21, 2010 at 04:36:09PM -0500, Dan Christensen wrote:
> 
> > I'm guessing those characters are stored in the local cache.  If instead
> > we were simply able to store the full custom flag name, the table
> > wouldn't be needed.  I don't know anything about the format of the local
> > cache, but if it could be easily extended to handle strings instead of
> > characters, that would be great.  Then the flagsimap2maildir and reverse
> > functions could be changed so that when a custom flag isn't in the
> > table, they return it unchanged.
> > 
> > If changing the local storage format would be hard, this could be done
> > as part of the migration to a database.
> 
> We are not ready for a migration even it is good to have this in mind.
> Also, I don't see the database as the default format for now. We would
> rather offer an alternative from the current format.

Wouldn't supporting alternative formats be more work for the maintainers
and contributors? Also as I understand it the performance gains would
mean that practically if the implementation is good most would switch
anyway.





More information about the OfflineIMAP-project mailing list