On Friday 14 September 2007 19:14, Dan Langille wrote:
> On 14 Sep 2007 at 13:09, 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.
>
> Bill: Eric and I found the same issue. We're working on it.  It has
> to do with enabling thread support on PostgreSQL.  We're not sure yet
> if this must be done on both the client and the server, but I think
> just the client at the moment.

You need to have the mult-thread client libraries installed and working.  It 
is a special option on the build if I remember right. 

The other possibility is that nm doesn't work the same way on your system as 
it does on Linux systems.

>
> I'll get back with results later today.

-------------------------------------------------------------------------
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

Reply via email to