diff options
Diffstat (limited to 'src/backend/utils/cache')
-rw-r--r-- | src/backend/utils/cache/relcache.c | 6 | ||||
-rw-r--r-- | src/backend/utils/cache/relmapper.c | 4 | ||||
-rw-r--r-- | src/backend/utils/cache/syscache.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/utils/cache/relcache.c b/src/backend/utils/cache/relcache.c index d0f6f715e6f..969884d4856 100644 --- a/src/backend/utils/cache/relcache.c +++ b/src/backend/utils/cache/relcache.c @@ -2635,9 +2635,9 @@ RelationClearRelation(Relation relation, bool rebuild) * there should be no PartitionDirectory with a pointer to the old * entry. * - * Note that newrel and relation have already been swapped, so - * the "old" partition descriptor is actually the one hanging off - * of newrel. + * Note that newrel and relation have already been swapped, so the + * "old" partition descriptor is actually the one hanging off of + * newrel. */ MemoryContextSetParent(newrel->rd_pdcxt, relation->rd_pdcxt); newrel->rd_partdesc = NULL; diff --git a/src/backend/utils/cache/relmapper.c b/src/backend/utils/cache/relmapper.c index f870a07d2a1..7ad0aa0b944 100644 --- a/src/backend/utils/cache/relmapper.c +++ b/src/backend/utils/cache/relmapper.c @@ -656,7 +656,7 @@ EstimateRelationMapSpace(void) void SerializeRelationMap(Size maxSize, char *startAddress) { - SerializedActiveRelMaps *relmaps; + SerializedActiveRelMaps *relmaps; Assert(maxSize >= EstimateRelationMapSpace()); @@ -673,7 +673,7 @@ SerializeRelationMap(Size maxSize, char *startAddress) void RestoreRelationMap(char *startAddress) { - SerializedActiveRelMaps *relmaps; + SerializedActiveRelMaps *relmaps; if (active_shared_updates.num_mappings != 0 || active_local_updates.num_mappings != 0 || diff --git a/src/backend/utils/cache/syscache.c b/src/backend/utils/cache/syscache.c index ac98c19155f..476538354dd 100644 --- a/src/backend/utils/cache/syscache.c +++ b/src/backend/utils/cache/syscache.c @@ -1235,7 +1235,7 @@ GetSysCacheOid(int cacheId, result = heap_getattr(tuple, oidcol, SysCache[cacheId]->cc_tupdesc, &isNull); - Assert(!isNull); /* columns used as oids should never be NULL */ + Assert(!isNull); /* columns used as oids should never be NULL */ ReleaseSysCache(tuple); return result; } |