OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
SQLite support in Postfix

From: Wietse Venema (wietseporcupine.org)
Date: Fri Jun 18 2010 - 08:45:11 CDT


Last weekend I talked with one of the creators of SQLite and was
impressed by the thoroughness of their code quality process.

I brushed up a patch that was circulated two years ago and spent
a day or so adding error checks and updating documentation.

Right now this is a read-only implementation (like mysql/pgsql)
but it may be worthwhile to add update support. SQLite implements
locking internally. That would allow us to avoid the problems with
Postfix's external locks on Berkeley DB maps, which are broken
after BDB version 2.

The documentation is practically identical to that of MySQL:

http://www.porcupine.org/postfix-mirror/sqlite_table.5.html
http://www.porcupine.org/postfix-mirror/SQLITE_README.html

        Wietse