when batch insert is turned off allowing building on older
PostgreSQLs.
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.2@5491
91ce42f0-d328-0410-95d8-
f526ca767f89
return id;
}
+#ifdef HAVE_BATCH_FILE_INSERT
+
int my_postgresql_batch_start(JCR *jcr, B_DB *mdb)
{
char *query = "COPY batch FROM STDIN";
return mdb->status;
}
+#endif /* HAVE_BATCH_FILE_INSERT */
+
/*
* Escape strings so that PostgreSQL is happy on COPY
*
General:
07Sep07
kes Add ./configure search in qwt-qt4 for qwt package
+kes Apply Martin Simmons patch that should turn off the new API usage
+ when batch insert is turned off allowing building on older
+ PostgreSQLs.
+
Release Version 2.2.2
04Sep07
ebl Detect if new PosgreSQL batch insert API is present.