summaryrefslogtreecommitdiff
path: root/psycopg/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'psycopg/connection.h')
-rw-r--r--psycopg/connection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/psycopg/connection.h b/psycopg/connection.h
index 6c39263..00430f9 100644
--- a/psycopg/connection.h
+++ b/psycopg/connection.h
@@ -167,8 +167,8 @@ HIDDEN void conn_close_locked(connectionObject *self);
RAISES_NEG HIDDEN int conn_commit(connectionObject *self);
RAISES_NEG HIDDEN int conn_rollback(connectionObject *self);
HIDDEN int conn_set_autocommit(connectionObject *self, int value);
-RAISES_NEG HIDDEN int conn_parse_isolevel(connectionObject *self, PyObject *pyval);
-RAISES_NEG HIDDEN int conn_parse_onoff(PyObject *pyval);
+RAISES_NEG HIDDEN int conn_set_session(connectionObject *self, int autocommit,
+ int isolevel, int readonly, int deferrable);
RAISES_NEG HIDDEN int conn_switch_isolation_level(connectionObject *self, int level);
RAISES_NEG HIDDEN int conn_set_client_encoding(connectionObject *self, const char *enc);
HIDDEN int conn_poll(connectionObject *self);