diff options
| author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2011-06-08 14:22:11 +0100 |
|---|---|---|
| committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2011-06-08 14:22:11 +0100 |
| commit | d2b28abcede7788f583ff88571d2a418cec1a4df (patch) | |
| tree | 0c5e435edd304c41279b3a9bac26fb08c5d3d4e9 /psycopg/connection.h | |
| parent | 1a51cfe2743e4355bd43d20e1a8315d574a16427 (diff) | |
| download | psycopg2-d2b28abcede7788f583ff88571d2a418cec1a4df.tar.gz | |
Method set_transaction() renamed to set_session()
In fact it doesn't change "the transaction", as there has to be no
transaction when invoked. The effect instead is to execute SET SESSION
CHARACTERISTICS.
Diffstat (limited to 'psycopg/connection.h')
| -rw-r--r-- | psycopg/connection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psycopg/connection.h b/psycopg/connection.h index 14d58a0..7f512a1 100644 --- a/psycopg/connection.h +++ b/psycopg/connection.h @@ -136,7 +136,7 @@ HIDDEN int conn_connect(connectionObject *self, long int async); HIDDEN void conn_close(connectionObject *self); HIDDEN int conn_commit(connectionObject *self); HIDDEN int conn_rollback(connectionObject *self); -HIDDEN int conn_set_transaction(connectionObject *self, const char *isolevel, +HIDDEN int conn_set_session(connectionObject *self, const char *isolevel, const char *readonly, const char *deferrable, int autocommit); HIDDEN int conn_set_autocommit(connectionObject *self, int value); |
