aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Naylor <john.naylor@postgresql.org>2022-09-19 11:36:51 +0700
committerJohn Naylor <john.naylor@postgresql.org>2022-09-19 11:36:51 +0700
commit08f8af983a8bd8ef78e48bab624071998a26cbb7 (patch)
treebba2f9a9e73d77ae6d5dc1efdb9ba10c3ee705fe /src
parentf66d997fd024223a78ebf64bf42f98f639b0b942 (diff)
downloadpostgresql-08f8af983a8bd8ef78e48bab624071998a26cbb7.tar.gz
postgresql-08f8af983a8bd8ef78e48bab624071998a26cbb7.zip
Fix typos referring to PGPROC
Japin Li Reviewed by Kyotaro Horiguchi Discussion: https://www.postgresql.org/message-id/MEYP282MB1669459813B36FB5EAA38434B6499@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/transam/README2
-rw-r--r--src/backend/access/transam/xact.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/access/transam/README b/src/backend/access/transam/README
index 734c39a4d0a..72af6560600 100644
--- a/src/backend/access/transam/README
+++ b/src/backend/access/transam/README
@@ -198,7 +198,7 @@ parent. This maintains the invariant that child transactions have XIDs later
than their parents, which is assumed in a number of places.
The subsidiary actions of obtaining a lock on the XID and entering it into
-pg_subtrans and PG_PROC are done at the time it is assigned.
+pg_subtrans and PGPROC are done at the time it is assigned.
A transaction that has no XID still needs to be identified for various
purposes, notably holding locks. For this purpose we assign a "virtual
diff --git a/src/backend/access/transam/xact.c b/src/backend/access/transam/xact.c
index 50f092d7eb3..7abc6a07056 100644
--- a/src/backend/access/transam/xact.c
+++ b/src/backend/access/transam/xact.c
@@ -680,12 +680,12 @@ AssignTransactionId(TransactionState s)
log_unknown_top = true;
/*
- * Generate a new FullTransactionId and record its xid in PG_PROC and
+ * Generate a new FullTransactionId and record its xid in PGPROC and
* pg_subtrans.
*
* NB: we must make the subtrans entry BEFORE the Xid appears anywhere in
- * shared storage other than PG_PROC; because if there's no room for it in
- * PG_PROC, the subtrans entry is needed to ensure that other backends see
+ * shared storage other than PGPROC; because if there's no room for it in
+ * PGPROC, the subtrans entry is needed to ensure that other backends see
* the Xid as "running". See GetNewTransactionId.
*/
s->fullTransactionId = GetNewTransactionId(isSubXact);