that it compiles correctly with pgre version 8.3. Also fix
misuse of %x with pointer (should be %p).
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.2@6026
91ce42f0-d328-0410-95d8-
f526ca767f89
#ifdef HAVE_POSTGRESQL
#include "postgres_ext.h" /* needed for NAMEDATALEN */
+#include "pg_config_manual.h" /* get NAMEDATALEN on version 8.3 or later */
/* -----------------------------------------------------------------------
*
Dmsg2(500, "my_postgresql_fetch_row row number '%d' is NOT acceptable (0..%d)\n", mdb->row_number, mdb->num_rows);
}
- Dmsg1(500, "my_postgresql_fetch_row finishes returning %x\n", row);
+ Dmsg1(500, "my_postgresql_fetch_row finishes returning %p\n", row);
return row;
}
Technical notes on version 2.2
General:
+08Dec07
+kes Add new include to postgresql.c suggested by Marc Cousins so
+ that it compiles correctly with pgre version 8.3. Also fix
+ misuse of %x with pointer (should be %p).
03Dec07
kes This patch fixes bcopy so that it produces correct Volumes.
It fixes bug #1022.