On Friday 14 September 2007 19:19, Eric Bollengier wrote: > Hi, > > there are two ways of discarding batch mode > - no thread safe in libpq > - or a too old libpq > > Can you try this two commands : > nm $SQL_LIB | grep PQputCopyData > > and > > nm $SQL_LIB | grep mutex
The actual test that Bacula does is: nm (appropriate-client-lib) | grep pthread_mutex_lock > > where $SQL_LIB is you libpq.a, both must print something. > > > Bye > > On Friday 14 September 2007 19:09:28 Bill Moran wrote: > > After noticing some chatter on the lists, I'm trying to get my > > builds for regression testing to enable the batch insert code for > > PostgreSQL. > > > > Simply running the tests doesn't seem to do it, I get: > > Batch insert enabled: no > > > > So I found a readme file from Eric recommending the following: > > This patch allow you to use Batch insert mode with all database. > > It have tested this with postgresql 8.1 and mysql 4.1 and sqlite. > > You have to add to src/baconfig.h > > #define HAVE_BATCH_FILE_INSERT 1 > > > > After doing so, however, I still get the above notice that batch > > mode is not enabled. > > > > Obviously, there's something I'm missing. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Bacula-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/bacula-devel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bacula-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
