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

Commit 08f8af9

Browse files
committed
Fix typos referring to PGPROC
Japin Li Reviewed by Kyotaro Horiguchi Discussion: https://www.postgresql.org/message-id/MEYP282MB1669459813B36FB5EAA38434B6499@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
1 parent f66d997 commit 08f8af9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/backend/access/transam/README

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ parent. This maintains the invariant that child transactions have XIDs later
198198
than their parents, which is assumed in a number of places.
199199

200200
The subsidiary actions of obtaining a lock on the XID and entering it into
201-
pg_subtrans and PG_PROC are done at the time it is assigned.
201+
pg_subtrans and PGPROC are done at the time it is assigned.
202202

203203
A transaction that has no XID still needs to be identified for various
204204
purposes, notably holding locks. For this purpose we assign a "virtual

src/backend/access/transam/xact.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -680,12 +680,12 @@ AssignTransactionId(TransactionState s)
680680
log_unknown_top = true;
681681

682682
/*
683-
* Generate a new FullTransactionId and record its xid in PG_PROC and
683+
* Generate a new FullTransactionId and record its xid in PGPROC and
684684
* pg_subtrans.
685685
*
686686
* NB: we must make the subtrans entry BEFORE the Xid appears anywhere in
687-
* shared storage other than PG_PROC; because if there's no room for it in
688-
* PG_PROC, the subtrans entry is needed to ensure that other backends see
687+
* shared storage other than PGPROC; because if there's no room for it in
688+
* PGPROC, the subtrans entry is needed to ensure that other backends see
689689
* the Xid as "running". See GetNewTransactionId.
690690
*/
691691
s->fullTransactionId = GetNewTransactionId(isSubXact);

0 commit comments

Comments
 (0)