From f1c141cffe751a36a01a91f9c1a022b863f52dad Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Mon, 10 Jul 2023 11:45:27 +0300 Subject: [PATCH v2 2/3] Fix typos and reword comment. --- src/backend/storage/lmgr/predicate.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/backend/storage/lmgr/predicate.c b/src/backend/storage/lmgr/predicate.c index 5e62027284..fa05c801b4 100644 --- a/src/backend/storage/lmgr/predicate.c +++ b/src/backend/storage/lmgr/predicate.c @@ -490,12 +490,12 @@ static void ReleasePredicateLocksLocal(void); * Does this relation participate in predicate locking? Temporary and system * relations are exempt. * - * Note that GetSerializableTransactionSnapshotInt() relies on the latter - * exemption when considering separate databases to be fully partitioned from - * each other for the purposes of the safe snapshot optimization. If SSI is - * ever applied to system catalogs, and in particular shared catalogs, - * databases would not no longer be sufficiently isolated and that would need - * to be reconsdered. + * Note that GetSerializableTransactionSnapshotInt() relies on system + * relations to be exempt. It assumes separate databases to be fully + * partitioned from each other for the purposes of the safe snapshot + * optimization. If SSI is ever applied to system catalogs, and in + * particular to shared system catalogs, databases would no longer be + * sufficiently isolated and that would need to be reconsidered. */ static inline bool PredicateLockingNeededForRelation(Relation relation) -- 2.30.2