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

Function IsCatalogNamespace

src/backend/catalog/catalog.c:313–317  ·  view source on GitHub ↗

* IsCatalogNamespace * True iff namespace is pg_catalog. * * Does not perform any catalog accesses. * * NOTE: the reason this isn't a macro is to avoid having to include * catalog/pg_namespace.h in a lot of places. */

Source from the content-addressed store, hash-verified

311 * catalog/pg_namespace.h in a lot of places.
312 */
313bool
314IsCatalogNamespace(Oid namespaceId)
315{
316 return namespaceId == PG_CATALOG_NAMESPACE;
317}
318
319/*
320 * IsToastNamespace

Callers 5

AlterTableMoveAllFunction · 0.85
heap_createFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected