diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2011-01-10 00:20:20 +0000 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2011-01-10 00:20:55 +0000 |
commit | 48588e5f6943ad31ac9080536514e4ef5e52a60c (patch) | |
tree | fb0d584c853f6eaa893654964549d20299596c02 /psycopg/pqpath.c | |
parent | 935c25730a6f62bfbe0e0796bf4eae0a0d5f61d3 (diff) | |
download | psycopg2-48588e5f6943ad31ac9080536514e4ef5e52a60c.tar.gz |
Invalidate large objects after a two-phase commit operation
Diffstat (limited to 'psycopg/pqpath.c')
-rw-r--r-- | psycopg/pqpath.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/psycopg/pqpath.c b/psycopg/pqpath.c index 27e958e..6c7fabf 100644 --- a/psycopg/pqpath.c +++ b/psycopg/pqpath.c @@ -610,6 +610,8 @@ pq_tpc_command_locked(connectionObject *conn, const char *cmd, const char *tid, Dprintf("_pq_tpc_command: pgconn = %p, command = %s", conn->pgconn, cmd); + conn->mark += 1; + /* convert the xid into the postgres transaction_id and quote it. */ if (!(etid = psycopg_escape_string((PyObject *)conn, tid, 0, NULL, NULL))) { goto exit; } |