File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/backend/access/transam Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 77 *
88 *
99 * IDENTIFICATION
10- * $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.42.2.3 1999/09/09 16:29:22 tgl Exp $
10+ * $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.42.2.4 1999/10/19 02:54:39 inoue Exp $
1111 *
1212 * NOTES
1313 * Transaction aborts can now occur two ways:
@@ -733,9 +733,10 @@ RecordTransactionAbort()
733733 /*
734734 * Have the transaction access methods record the status of
735735 * this transaction id in the pg_log relation. We skip it
736- * if no one shared buffer was changed by this transaction.
736+ * if no one shared buffer was changed by this transaction
737+ * or this transaction has been committed already.
737738 */
738- if (SharedBufferChanged )
739+ if (SharedBufferChanged && ! TransactionIdDidCommit ( xid ) )
739740 TransactionIdAbort (xid );
740741
741742 ResetBufferPool ();
You can’t perform that action at this time.
0 commit comments