1/*-------------------------------------------------------------------------
4 * definition of the "namespace" system catalog (pg_namespace)
7 * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * src/include/catalog/pg_namespace.h
13 * The Catalog.pm module reads this file and derives schema
16 *-------------------------------------------------------------------------
22#include "catalog/pg_namespace_d.h" /* IWYU pragma: export */
25/* ----------------------------------------------------------------
26 * pg_namespace definition.
28 * cpp turns this into typedef struct FormData_pg_namespace
30 * nspname name of the namespace
31 * nspowner owner (creator) of the namespace
32 * nspacl access privilege list
33 * ----------------------------------------------------------------
35 CATALOG(pg_namespace,2615,NamespaceRelationId)
42#ifdef CATALOG_VARLEN /* variable-length fields start here */
48 * Form_pg_namespace corresponds to a pointer to a tuple with
49 * the format of pg_namespace relation.
56 DECLARE_UNIQUE_INDEX(pg_namespace_nspname_index, 2684, NamespaceNameIndexId, pg_namespace, btree(nspname name_ops));
63 * prototypes for functions in pg_namespace.c
67#endif /* PG_NAMESPACE_H */
#define BKI_LOOKUP(catalog)
#define BKI_DEFAULT(value)
DECLARE_UNIQUE_INDEX_PKEY(pg_namespace_oid_index, 2685, NamespaceOidIndexId, pg_namespace, btree(oid oid_ops))
MAKE_SYSCACHE(NAMESPACENAME, pg_namespace_nspname_index, 4)
DECLARE_UNIQUE_INDEX(pg_namespace_nspname_index, 2684, NamespaceNameIndexId, pg_namespace, btree(nspname name_ops))
DECLARE_TOAST(pg_namespace, 4163, 4164)
FormData_pg_namespace * Form_pg_namespace
CATALOG(pg_namespace, 2615, NamespaceRelationId)
Oid NamespaceCreate(const char *nspName, Oid ownerId, bool isTemp)