# 52.32. pg\_namespace

目錄 pg\_namespace 儲存命名空間。命名空間是 SQL 綱要的基礎結構：每個命名空間可以有一個獨立的關連，型別等集合，而不會有名稱衝突。

#### **Table 52.32. `pg_namespace` Columns**

| 欄位         | 型別          | 參考                                                                                   | 說明                                                                                                                                                          |
| ---------- | ----------- | ------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `oid`      | `oid`       |                                                                                      | 資料列指標（隱藏屬性；必須明確選擇）                                                                                                                                          |
| `nspname`  | `name`      |                                                                                      | 命名空間的名稱                                                                                                                                                     |
| `nspowner` | `oid`       | [`pg_authid`](https://docs.postgresql.tw/11/internals/system-catalogs/pg_authid).oid | 命名空間的所有者                                                                                                                                                    |
| `nspacl`   | `aclitem[]` |                                                                                      | 存取權限；有關詳細信息，請參閱 [GRANT](https://docs.postgresql.tw/11/reference/sql-commands/grant) 和 [REVOKE](https://docs.postgresql.tw/11/reference/sql-commands/revoke) |
