Committed by Greg Sabino Mullane <[email protected]>

Confirmed that lo_import_with_oid does not exists anywhere in the 8.4 source. 
Why is this giving us so many problems?

---
 dbdimp.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dbdimp.c b/dbdimp.c
index c65a3ff..2598da5 100644
--- a/dbdimp.c
+++ b/dbdimp.c
@@ -50,8 +50,7 @@ void PQfreeCancel(PGcancel *cancel) {
 
 #endif
 
-#if PGLIBVERSION < 80400
-
+#if PGLIBVERSION < 90000
 Oid lo_import_with_oid (PGconn *conn, char *filename, unsigned int lobjId);
 Oid lo_import_with_oid (PGconn *conn, char *filename, unsigned int lobjId) {
        croak ("Cannot use lo_import_with_oid unless compiled against Postgres 
8.4 or later");
-- 
1.7.1

Reply via email to