Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1db76d7

Browse files
committed
TransactionIdIsInProgress moved to shmem.c
1 parent 89c7e18 commit 1db76d7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/backend/access/transam/transam.c

+7-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/transam/transam.c,v 1.6 1996/11/10 02:59:11 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/transam/transam.c,v 1.7 1996/11/27 07:10:59 vadim Exp $
1111
*
1212
* NOTES
1313
* This file contains the high level access-method interface to the
@@ -594,6 +594,11 @@ TransactionIdDidAbort(TransactionId transactionId)
594594
TransactionLogTest(transactionId, XID_ABORT);
595595
}
596596

597+
#ifdef 0
598+
/*
599+
* Now this func in shmem.c and gives quality answer by scanning
600+
* PROC structures of all running backend. - vadim 11/26/96
601+
*/
597602
bool /* true if given transaction neither committed nor aborted */
598603
TransactionIdIsInProgress(TransactionId transactionId)
599604
{
@@ -603,6 +608,7 @@ TransactionIdIsInProgress(TransactionId transactionId)
603608
return
604609
TransactionLogTest(transactionId, XID_INPROGRESS);
605610
}
611+
#endif
606612

607613
/* --------------------------------
608614
* TransactionId Commit

0 commit comments

Comments
 (0)