X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fconfigure;h=55e04da51d326802256fd0382358bc0c978c0c1e;hb=6d01a4ad4a94fa755240b47dc965edda47aab092;hp=c23bc0956309feb3231a4d7d301518b65c736be0;hpb=c1eaf550393708e25d7a01995863b7a056ae5fb2;p=bacula%2Fbacula diff --git a/bacula/configure b/bacula/configure index c23bc09563..55e04da51d 100755 --- a/bacula/configure +++ b/bacula/configure @@ -17503,6 +17503,15 @@ if test "${enable_batch_insert+set}" = set; then fi; fi +# Check if postgresql support batch mode +if test x$DB_TYPE = xpostgresql; then + A=`nm $SQL_LIB | grep PQputCopyData` + pkg=$? + if test $pkg != 0; then + support_batch_insert=no + fi +fi + if test $support_batch_insert = yes ; then cat >>confdefs.h <<\_ACEOF