mirror of
https://github.com/postgres/postgres.git
synced 2025-11-10 17:42:29 +03:00
pgindent run over code.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/transam/transam.c,v 1.25 1999/03/30 01:37:21 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/transam/transam.c,v 1.26 1999/05/25 16:07:45 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* This file contains the high level access-method interface to the
|
||||
@@ -221,7 +221,7 @@ TransactionLogUpdate(TransactionId transactionId, /* trans id to update */
|
||||
/*
|
||||
* update (invalidate) our single item TransactionLogTest cache.
|
||||
*
|
||||
if (status != XID_COMMIT)
|
||||
* if (status != XID_COMMIT)
|
||||
*
|
||||
* What's the hell ?! Why != XID_COMMIT ?!
|
||||
*/
|
||||
@@ -374,7 +374,7 @@ TransRecover(Relation logRelation)
|
||||
*/
|
||||
|
||||
/*
|
||||
* InitializeTransactionLog
|
||||
* InitializeTransactionLog
|
||||
* Initializes transaction logging.
|
||||
*/
|
||||
void
|
||||
@@ -484,7 +484,7 @@ InitializeTransactionLog(void)
|
||||
*/
|
||||
|
||||
/*
|
||||
* TransactionIdDidCommit
|
||||
* TransactionIdDidCommit
|
||||
* True iff transaction associated with the identifier did commit.
|
||||
*
|
||||
* Note:
|
||||
@@ -500,7 +500,7 @@ TransactionIdDidCommit(TransactionId transactionId)
|
||||
}
|
||||
|
||||
/*
|
||||
* TransactionIdDidAborted
|
||||
* TransactionIdDidAborted
|
||||
* True iff transaction associated with the identifier did abort.
|
||||
*
|
||||
* Note:
|
||||
@@ -541,7 +541,7 @@ TransactionIdIsInProgress(TransactionId transactionId)
|
||||
*/
|
||||
|
||||
/*
|
||||
* TransactionIdCommit
|
||||
* TransactionIdCommit
|
||||
* Commits the transaction associated with the identifier.
|
||||
*
|
||||
* Note:
|
||||
@@ -557,7 +557,7 @@ TransactionIdCommit(TransactionId transactionId)
|
||||
}
|
||||
|
||||
/*
|
||||
* TransactionIdAbort
|
||||
* TransactionIdAbort
|
||||
* Aborts the transaction associated with the identifier.
|
||||
*
|
||||
* Note:
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/transam/varsup.c,v 1.19 1999/02/13 23:14:48 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/transam/varsup.c,v 1.20 1999/05/25 16:07:48 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -260,7 +260,7 @@ VariableRelationPutNextOid(Oid *oidP)
|
||||
* In the version 2 transaction system, transaction id's are
|
||||
* restricted in several ways.
|
||||
*
|
||||
* -- Old comments removed
|
||||
* -- Old comments removed
|
||||
*
|
||||
* Second, since we may someday preform compression of the data
|
||||
* in the log and time relations, we cause the numbering of the
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.35 1999/05/13 00:34:57 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.36 1999/05/25 16:07:50 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* Transaction aborts can now occur two ways:
|
||||
@@ -194,8 +194,8 @@ TransactionStateData CurrentTransactionStateData = {
|
||||
|
||||
TransactionState CurrentTransactionState = &CurrentTransactionStateData;
|
||||
|
||||
int DefaultXactIsoLevel = XACT_READ_COMMITTED;
|
||||
int XactIsoLevel;
|
||||
int DefaultXactIsoLevel = XACT_READ_COMMITTED;
|
||||
int XactIsoLevel;
|
||||
|
||||
/* ----------------
|
||||
* info returned when the system is disabled
|
||||
@@ -299,6 +299,7 @@ IsTransactionState(void)
|
||||
*/
|
||||
return false;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* --------------------------------
|
||||
@@ -516,7 +517,7 @@ CommandCounterIncrement()
|
||||
AtStart_Cache();
|
||||
|
||||
TransactionIdFlushCache();
|
||||
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
@@ -695,9 +696,9 @@ AtCommit_Memory()
|
||||
|
||||
/* ----------------
|
||||
* Release memory in the blank portal.
|
||||
* Since EndPortalAllocMode implicitly works on the current context,
|
||||
* first make real sure that the blank portal is the selected context.
|
||||
* (This is probably not necessary, but seems like a good idea...)
|
||||
* Since EndPortalAllocMode implicitly works on the current context,
|
||||
* first make real sure that the blank portal is the selected context.
|
||||
* (This is probably not necessary, but seems like a good idea...)
|
||||
* ----------------
|
||||
*/
|
||||
portal = GetPortalByName(NULL);
|
||||
@@ -789,9 +790,9 @@ AtAbort_Memory()
|
||||
|
||||
/* ----------------
|
||||
* Release memory in the blank portal.
|
||||
* Since EndPortalAllocMode implicitly works on the current context,
|
||||
* first make real sure that the blank portal is the selected context.
|
||||
* (This is ESSENTIAL in case we aborted from someplace where it wasn't.)
|
||||
* Since EndPortalAllocMode implicitly works on the current context,
|
||||
* first make real sure that the blank portal is the selected context.
|
||||
* (This is ESSENTIAL in case we aborted from someplace where it wasn't.)
|
||||
* ----------------
|
||||
*/
|
||||
portal = GetPortalByName(NULL);
|
||||
@@ -1074,7 +1075,7 @@ StartTransactionCommand()
|
||||
break;
|
||||
|
||||
/* ----------------
|
||||
* As with BEGIN, we should never experience this
|
||||
* As with BEGIN, we should never experience this
|
||||
* if we do it means the END state was not changed in the
|
||||
* previous CommitTransactionCommand(). If we get it, we
|
||||
* print a warning, commit the transaction, start a new
|
||||
@@ -1509,6 +1510,7 @@ AbortOutOfAnyTransaction()
|
||||
*/
|
||||
if (s->state != TRANS_DEFAULT)
|
||||
AbortTransaction();
|
||||
|
||||
/*
|
||||
* Now reset the high-level state
|
||||
*/
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: xid.c,v 1.21 1999/02/13 23:14:49 momjian Exp $
|
||||
* $Id: xid.c,v 1.22 1999/05/25 16:07:52 momjian Exp $
|
||||
*
|
||||
* OLD COMMENTS
|
||||
* XXX WARNING
|
||||
|
||||
Reference in New Issue
Block a user