# 52.32. pg\_namespace

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

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

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.postgresql.tw/11/internals/system-catalogs/pg_namespace.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
