diff options
Diffstat (limited to 'src/backend/access/transam/xact.c')
-rw-r--r-- | src/backend/access/transam/xact.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/backend/access/transam/xact.c b/src/backend/access/transam/xact.c index 2f73ee10c06..98e56c40020 100644 --- a/src/backend/access/transam/xact.c +++ b/src/backend/access/transam/xact.c @@ -10,7 +10,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/access/transam/xact.c,v 1.206 2005/06/18 19:33:41 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/access/transam/xact.c,v 1.207 2005/06/19 20:00:38 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -1742,19 +1742,6 @@ PrepareTransaction(void) EndPrepare(gxact); /* - * Mark the prepared transaction as valid. As soon as we mark ourselves - * not running in MyProc below, others can commit/rollback the xact. - * - * NB: a side effect of this is to make a dummy ProcArray entry for the - * prepared XID. This must happen before we clear the XID from MyProc, - * else there is a window where the XID is not running according to - * TransactionIdInProgress, and onlookers would be entitled to assume - * the xact crashed. Instead we have a window where the same XID - * appears twice in ProcArray, which is OK. - */ - MarkAsPrepared(gxact); - - /* * Now we clean up backend-internal state and release internal * resources. */ |