summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--psycopg/connection_type.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/psycopg/connection_type.c b/psycopg/connection_type.c
index f5cc3b5..3cdbf1f 100644
--- a/psycopg/connection_type.c
+++ b/psycopg/connection_type.c
@@ -341,6 +341,7 @@ static struct PyMethodDef connectionObject_methods[] = {
METH_VARARGS, psyco_conn_get_transaction_status_doc},
{"lobject", (PyCFunction)psyco_conn_lobject,
METH_VARARGS|METH_KEYWORDS, psyco_conn_lobject_doc},
+#endif
{NULL}
};