Typo in procarray.c comment about GlobalVisDataRels

Started by Jim Nasbyover 5 years ago2 messages
#1Jim Nasby
nasbyj@amazon.com
1 attachment(s)

The comment in procarray.c that described GlobalVisDataRels instead
mentioned GlobalVisCatalogRels a second time. Patch attached.

Attachments:

GlobalVisDataRels.patchtext/plain; charset=UTF-8; name=GlobalVisDataRels.patch; x-mac-creator=0; x-mac-type=0Download
diff --git a/src/backend/storage/ipc/procarray.c b/src/backend/storage/ipc/procarray.c
index 45eab7e5a6..a023090fbb 100644
--- a/src/backend/storage/ipc/procarray.c
+++ b/src/backend/storage/ipc/procarray.c
@@ -146,7 +146,7 @@ typedef struct ProcArrayStruct
  *    I.e. the difference to GlobalVisSharedRels is that
  *    snapshot in other databases are ignored.
  *
- * 3) GlobalVisCatalogRels, which only considers an XID's
+ * 3) GlobalVisDataRels, which only considers an XID's
  *    effects visible-to-everyone if neither snapshots in the current
  *    database, nor a replication slot's xmin consider XID as running.
  *
#2Michael Paquier
michael@paquier.xyz
In reply to: Jim Nasby (#1)
Re: Typo in procarray.c comment about GlobalVisDataRels

On Wed, Aug 26, 2020 at 04:22:51PM -0500, Jim Nasby wrote:

The comment in procarray.c that described GlobalVisDataRels instead
mentioned GlobalVisCatalogRels a second time. Patch attached.

Thanks, Jim. Applied.
--
Michael