Hi all,

I just tried to compile bacula on OS X against PostgreSQL 8.3 beta 3
(after applying the patch for XCode 3.0), but in PostgreSQL there have
been changes in the header files and location of NAMEDATALEN has
changed. Here is a very small patch:

--- Release-2.2.6/bacula/src/cats/postgresql.c    2007-12-04
11:39:19.000000000 +0100
+++ Release-2.2.6-pg8.3/bacula/src/cats/postgresql.c    2007-12-04
11:33:17.000000000 +0100
@@ -47,6 +47,7 @@
 #ifdef HAVE_POSTGRESQL

 #include "postgres_ext.h"       /* needed for NAMEDATALEN */
+#include "pg_config_manual.h"    /* needed for NAMEDATALEN in
Postgresql => 8.3 */

 /* -----------------------------------------------------------------------
  *

Just a small hint :-)

Cheers,
Jan

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to