Updated on 2024-05-07 GMT+08:00

PG_NAMESPACE

PG_NAMESPACE records namespaces, that is, schema-related information.

Table 1 PG_NAMESPACE columns

Name

Type

Description

oid

oid

Row identifier (hidden attribute, which must be specified)

nspname

name

Name of a namespace

nspowner

oid

Owner of a namespace

nsptimeline

bigint

Timeline when a namespace is created on the database node. This column is for internal use and valid only on the database node.

nspacl

aclitem[]

Access permission

in_redistribution

"char"

Specifies whether the content is in the redistribution state.

nspcollation

oid

Default collation of the namespace (a value may exist only when sql_compatibility='b' is set).