Committed by Greg Sabino Mullane <[email protected]>

More lo_import_with_oid tweaks. May just yank the whole
thing out! :)

---
 dbdimp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dbdimp.c b/dbdimp.c
index 10a5225..c08efb7 100644
--- a/dbdimp.c
+++ b/dbdimp.c
@@ -50,7 +50,7 @@ void PQfreeCancel(PGcancel *cancel) {
 
 #endif
 
-#if PGLIBVERSION < 90000
+#if PGLIBVERSION < 80400
 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.8.4

Reply via email to