mirror of
https://github.com/postgres/postgres.git
synced 2025-11-19 13:42:17 +03:00
Rename "pg_clog" directory to "pg_xact".
Names containing the letters "log" sometimes confuse users into believing that only non-critical data is present. It is hoped this renaming will discourage ill-considered removals of transaction status data. Michael Paquier Discussion: http://postgr.es/m/CA+Tgmoa9xFQyjRZupbdEFuwUerFTvC6HjZq1ud6GYragGDFFgA@mail.gmail.com
This commit is contained in:
@@ -381,7 +381,7 @@ ProcArrayRemove(PGPROC *proc, TransactionId latestXid)
|
||||
* ProcArrayEndTransaction -- mark a transaction as no longer running
|
||||
*
|
||||
* This is used interchangeably for commit and abort cases. The transaction
|
||||
* commit/abort must already be reported to WAL and pg_clog.
|
||||
* commit/abort must already be reported to WAL and pg_xact.
|
||||
*
|
||||
* proc is currently always MyProc, but we pass it explicitly for flexibility.
|
||||
* latestXid is the latest Xid among the transaction's main XID and
|
||||
@@ -1174,7 +1174,7 @@ TransactionIdIsInProgress(TransactionId xid)
|
||||
* At this point, we know it's either a subtransaction of one of the Xids
|
||||
* in xids[], or it's not running. If it's an already-failed
|
||||
* subtransaction, we want to say "not running" even though its parent may
|
||||
* still be running. So first, check pg_clog to see if it's been aborted.
|
||||
* still be running. So first, check pg_xact to see if it's been aborted.
|
||||
*/
|
||||
xc_slow_answer_inc();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user