Suffering from bitrot; this at least gets it compiling again.
AC_MSG_ERROR([cannot compile DB3 backend without libdb3]))
else if test "x$enable_backend" = "xpg"
then
AC_MSG_ERROR([cannot compile DB3 backend without libdb3]))
else if test "x$enable_backend" = "xpg"
then
- AC_CHECK_LIB(pq, PQsetdbLoginx,,
+ AC_CHECK_LIB(pq, PQsetdbLogin,,
AC_MSG_ERROR([cannot compile PostgreSQL backend without libpq]))
fi
fi
AC_MSG_ERROR([cannot compile PostgreSQL backend without libpq]))
fi
fi
#include <postgresql/libpq-fe.h>
#include <postgresql/libpq/libpq-fs.h>
#include <postgresql/libpq-fe.h>
#include <postgresql/libpq/libpq-fs.h>
-//#include <libpq-fe.h>
-//#include <libpq/libpq-fs.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <errno.h>
"Can't open large object.");
} else {
read_openpgp_stream(keydb_fetchchar, &fd,
"Can't open large object.");
} else {
read_openpgp_stream(keydb_fetchchar, &fd,
parse_keys(packets, publickey);
lo_close(dbconn, fd);
free_packet_list(packets);
parse_keys(packets, publickey);
lo_close(dbconn, fd);
free_packet_list(packets);