summaryrefslogtreecommitdiff
path: root/psycopg/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'psycopg/utils.c')
-rw-r--r--psycopg/utils.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/psycopg/utils.c b/psycopg/utils.c
index b919180..631b839 100644
--- a/psycopg/utils.c
+++ b/psycopg/utils.c
@@ -67,12 +67,10 @@ psycopg_escape_string(connectionObject *conn, const char *from, Py_ssize_t len,
}
{
- #if PG_VERSION_NUM >= 80104
int err;
if (conn && conn->pgconn)
ql = PQescapeStringConn(conn->pgconn, to+eq+1, from, len, &err);
else
- #endif
ql = PQescapeString(to+eq+1, from, len);
}