Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit08f8af9

Browse files
committed
Fix typos referring to PGPROC
Japin LiReviewed by Kyotaro HoriguchiDiscussion:https://www.postgresql.org/message-id/MEYP282MB1669459813B36FB5EAA38434B6499@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
1 parentf66d997 commit08f8af9

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 andPG_PROC are done at the time it is assigned.
201+
pg_subtrans andPGPROC 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 inPG_PROC and
683+
* Generate a new FullTransactionId and record its xid inPGPROC and
684684
* pg_subtrans.
685685
*
686686
* NB: we must make the subtrans entry BEFORE the Xid appears anywhere in
687-
* shared storage other thanPG_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 thanPGPROC; 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)

[8]ページ先頭

©2009-2025 Movatter.jp