On Fri, 10 Sep 2010 08:27:12 -0400 (EDT), Wietse Venema <wie...@porcupine.org> wrote: > subscri...@viliar.net.ru: >> On Thu, 9 Sep 2010 11:06:07 -0400 (EDT), Wietse Venema >> <wie...@porcupine.org> wrote: >> > Will this work? Unfortunately I can't test Postfix myself on every >> > version of everything. >> > >> > Wietse >> > >> > *** ./dict_sqlite.c- Fri Jun 18 20:19:15 2010 >> > --- ./dict_sqlite.c Thu Sep 9 11:01:12 2010 >> > *************** >> > *** 68,74 **** >> > #include <sqlite3.h> >> > >> > #if !defined(SQLITE_VERSION_NUMBER) || (SQLITE_VERSION_NUMBER < >> 3005004) >> > ! #error "Your SQLite version is too old" >> > #endif >> > >> > /* Utility library. */ >> > --- 68,74 ---- >> > #include <sqlite3.h> >> > >> > #if !defined(SQLITE_VERSION_NUMBER) || (SQLITE_VERSION_NUMBER < >> 3005004) >> > ! #define sqlite3_prepare_v2 sqlite3_prepare >> > #endif >> > >> > /* Utility library. */ >> >> >> Right now I have checked postfix compile and postconf out. Everything >> fine. Don't check only real work with sqlite database. I can do it later. > > I looked up the API documentation, and it should work, but no-one knows > until it has been tested on a real system. > > Wietse
First time, then I try to use postfix with sqlite patch and small correct about function (sqlite3_prepare) is December 2008. As you now, first of all I have a look at sqlite API documentation and write a letter to author of sqlite patch. Sorry for link, I wrote about it then in my blog http://blog.viliar.net.ru/2008/03/12/opensource%D1%86/ (in russian) In production on a small loads I using it for own mail server about half of year. So, you can look on it as on example of real usage :-)