mirror of
https://github.com/postgres/postgres.git
synced 2025-05-01 01:04:50 +03:00
TransactionIdIsInProgress is commented out
This commit is contained in:
parent
6450bef6ec
commit
0667fd9491
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/access/transam/transam.c,v 1.7 1996/11/27 07:10:59 vadim Exp $
|
* $Header: /cvsroot/pgsql/src/backend/access/transam/transam.c,v 1.8 1996/11/27 15:15:54 vadim Exp $
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
* This file contains the high level access-method interface to the
|
* This file contains the high level access-method interface to the
|
||||||
@ -594,12 +594,14 @@ TransactionIdDidAbort(TransactionId transactionId)
|
|||||||
TransactionLogTest(transactionId, XID_ABORT);
|
TransactionLogTest(transactionId, XID_ABORT);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef 0
|
|
||||||
/*
|
/*
|
||||||
* Now this func in shmem.c and gives quality answer by scanning
|
* Now this func in shmem.c and gives quality answer by scanning
|
||||||
* PROC structures of all running backend. - vadim 11/26/96
|
* PROC structures of all running backend. - vadim 11/26/96
|
||||||
*/
|
*
|
||||||
bool /* true if given transaction neither committed nor aborted */
|
* Old comments:
|
||||||
|
* true if given transaction neither committed nor aborted
|
||||||
|
|
||||||
|
bool
|
||||||
TransactionIdIsInProgress(TransactionId transactionId)
|
TransactionIdIsInProgress(TransactionId transactionId)
|
||||||
{
|
{
|
||||||
if (AMI_OVERRIDE)
|
if (AMI_OVERRIDE)
|
||||||
@ -608,7 +610,7 @@ TransactionIdIsInProgress(TransactionId transactionId)
|
|||||||
return
|
return
|
||||||
TransactionLogTest(transactionId, XID_INPROGRESS);
|
TransactionLogTest(transactionId, XID_INPROGRESS);
|
||||||
}
|
}
|
||||||
#endif
|
*/
|
||||||
|
|
||||||
/* --------------------------------
|
/* --------------------------------
|
||||||
* TransactionId Commit
|
* TransactionId Commit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user