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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 3 additions & 3 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy