File tree 1 file changed +4
-3
lines changed
src/backend/access/transam
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 7
7
*
8
8
*
9
9
* 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 $
11
11
*
12
12
* NOTES
13
13
* Transaction aborts can now occur two ways:
@@ -733,9 +733,10 @@ RecordTransactionAbort()
733
733
/*
734
734
* Have the transaction access methods record the status of
735
735
* 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.
737
738
*/
738
- if (SharedBufferChanged )
739
+ if (SharedBufferChanged && ! TransactionIdDidCommit ( xid ) )
739
740
TransactionIdAbort (xid );
740
741
741
742
ResetBufferPool ();
You can’t perform that action at this time.
0 commit comments