MCPcopy Create free account
hub / github.com/apache/cloudberry / CacheInvalidateRelcacheAll

Function CacheInvalidateRelcacheAll

src/backend/utils/cache/inval.c:1398–1404  ·  view source on GitHub ↗

* CacheInvalidateRelcacheAll * Register invalidation of the whole relcache at the end of command. * * This is used by alter publication as changes in publications may affect * large number of tables. */

Source from the content-addressed store, hash-verified

1396 * large number of tables.
1397 */
1398void
1399CacheInvalidateRelcacheAll(void)
1400{
1401 PrepareInvalidationState();
1402
1403 RegisterRelcacheInvalidation(InvalidOid, InvalidOid);
1404}
1405
1406/*
1407 * CacheInvalidateRelcacheByTuple

Callers 5

CreatePublicationFunction · 0.85
AlterPublicationOptionsFunction · 0.85
RemovePublicationByIdFunction · 0.85
AlterForeignServerFunction · 0.85

Calls 2

PrepareInvalidationStateFunction · 0.85

Tested by

no test coverage detected