summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--psycopg/connection.h2
-rw-r--r--psycopg/notify_type.c2
-rw-r--r--psycopg/pqpath.h2
3 files changed, 5 insertions, 1 deletions
diff --git a/psycopg/connection.h b/psycopg/connection.h
index af2470d..552b93d 100644
--- a/psycopg/connection.h
+++ b/psycopg/connection.h
@@ -124,6 +124,8 @@ HIDDEN PyObject *conn_text_from_chars(connectionObject *pgconn, const char *str)
HIDDEN int conn_get_standard_conforming_strings(PGconn *pgconn);
HIDDEN int conn_get_isolation_level(PGresult *pgres);
HIDDEN int conn_get_protocol_version(PGconn *pgconn);
+HIDDEN int conn_get_server_version(PGconn *pgconn);
+HIDDEN PGcancel *conn_get_cancel(PGconn *pgconn);
HIDDEN void conn_notice_process(connectionObject *self);
HIDDEN void conn_notice_clean(connectionObject *self);
HIDDEN void conn_notifies_process(connectionObject *self);
diff --git a/psycopg/notify_type.c b/psycopg/notify_type.c
index ec2ec36..169a718 100644
--- a/psycopg/notify_type.c
+++ b/psycopg/notify_type.c
@@ -189,7 +189,7 @@ exit:
}
-long
+static long
notify_hash(NotifyObject *self)
{
long rv = -1L;
diff --git a/psycopg/pqpath.h b/psycopg/pqpath.h
index 8e9e20a..080047c 100644
--- a/psycopg/pqpath.h
+++ b/psycopg/pqpath.h
@@ -44,6 +44,8 @@ HIDDEN int pq_commit(connectionObject *conn);
HIDDEN int pq_abort_locked(connectionObject *conn, PGresult **pgres,
char **error, PyThreadState **tstate);
HIDDEN int pq_abort(connectionObject *conn);
+HIDDEN int pq_reset_locked(connectionObject *conn, PGresult **pgres,
+ char **error, PyThreadState **tstate);
HIDDEN int pq_reset(connectionObject *conn);
HIDDEN int pq_tpc_command_locked(connectionObject *conn,
const char *cmd, const char *tid,