> For the complete documentation index, see [llms.txt](https://docs.postgresql.tw/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.postgresql.tw/19/the-sql-language/functions/functions-admin.md). Agents can also search and read this documentation through its [MCP server](https://docs.postgresql.tw/~gitbook/mcp).

# 9.28. 系統管理函式 \#

### 9.28. 系統管理函式 [#](#functions-admin) <a href="#functions-admin" id="functions-admin"></a>

[9.28.1. 組態設定函式](https://docs.postgresql.tw/19/the-sql-language/functions/functions-admin/functions-admin-set.md#functions-admin-set)

[9.28.2. 伺服器訊號函式](https://docs.postgresql.tw/19/the-sql-language/functions/functions-admin/functions-admin-signal.md#functions-admin-signal)

[9.28.3. 備份控制函式](https://docs.postgresql.tw/19/the-sql-language/functions/functions-admin/functions-admin-backup.md#functions-admin-backup)

[9.28.4. 復原控制函式](https://docs.postgresql.tw/19/the-sql-language/functions/functions-admin/functions-recovery-control.md#functions-recovery-control)

[9.28.5. 快照同步函式](https://docs.postgresql.tw/19/the-sql-language/functions/functions-admin/functions-snapshot-synchronization.md#functions-snapshot-synchronization)

[9.28.6. 複寫管理函式](https://docs.postgresql.tw/19/the-sql-language/functions/functions-admin/functions-replication.md#functions-replication)

[9.28.7. 資料庫物件管理函式](https://docs.postgresql.tw/19/the-sql-language/functions/functions-admin/functions-admin-dbobject.md#functions-admin-dbobject)

[9.28.8. 索引維護函式](https://docs.postgresql.tw/19/the-sql-language/functions/functions-admin/functions-admin-index.md#functions-admin-index)

[9.28.9. 通用檔案存取函式](https://docs.postgresql.tw/19/the-sql-language/functions/functions-admin/functions-admin-genfile.md#functions-admin-genfile)

[9.28.10. 諮詢鎖函式](https://docs.postgresql.tw/19/the-sql-language/functions/functions-admin/functions-advisory-locks.md#functions-advisory-locks)

本節所說明的函式用於控制與監控 PostgreSQL 的安裝。

#### 9.28.1. 組態設定函式 [#](#functions-admin-set) <a href="#functions-admin-set" id="functions-admin-set"></a>

完整內容請見 [9.28.1. 組態設定函式](https://docs.postgresql.tw/19/the-sql-language/functions/functions-admin/functions-admin-set.md#functions-admin-set)。

#### 9.28.2. 伺服器訊號函式 [#](#functions-admin-signal) <a href="#functions-admin-signal" id="functions-admin-signal"></a>

完整內容請見 [9.28.2. 伺服器訊號函式](https://docs.postgresql.tw/19/the-sql-language/functions/functions-admin/functions-admin-signal.md#functions-admin-signal)。

#### 9.28.3. 備份控制函式 [#](#functions-admin-backup) <a href="#functions-admin-backup" id="functions-admin-backup"></a>

完整內容請見 [9.28.3. 備份控制函式](https://docs.postgresql.tw/19/the-sql-language/functions/functions-admin/functions-admin-backup.md#functions-admin-backup)。

#### 9.28.4. 復原控制函式 [#](#functions-recovery-control) <a href="#functions-recovery-control" id="functions-recovery-control"></a>

完整內容請見 [9.28.4. 復原控制函式](https://docs.postgresql.tw/19/the-sql-language/functions/functions-admin/functions-recovery-control.md#functions-recovery-control)。

#### 9.28.5. 快照同步函式 [#](#functions-snapshot-synchronization) <a href="#functions-snapshot-synchronization" id="functions-snapshot-synchronization"></a>

完整內容請見 [9.28.5. 快照同步函式](https://docs.postgresql.tw/19/the-sql-language/functions/functions-admin/functions-snapshot-synchronization.md#functions-snapshot-synchronization)。

#### 9.28.6. 複寫管理函式 [#](#functions-replication) <a href="#functions-replication" id="functions-replication"></a>

完整內容請見 [9.28.6. 複寫管理函式](https://docs.postgresql.tw/19/the-sql-language/functions/functions-admin/functions-replication.md#functions-replication)。

#### 9.28.7. 資料庫物件管理函式 [#](#functions-admin-dbobject) <a href="#functions-admin-dbobject" id="functions-admin-dbobject"></a>

完整內容請見 [9.28.7. 資料庫物件管理函式](https://docs.postgresql.tw/19/the-sql-language/functions/functions-admin/functions-admin-dbobject.md#functions-admin-dbobject)。

#### 9.28.8. 索引維護函式 [#](#functions-admin-index) <a href="#functions-admin-index" id="functions-admin-index"></a>

完整內容請見 [9.28.8. 索引維護函式](https://docs.postgresql.tw/19/the-sql-language/functions/functions-admin/functions-admin-index.md#functions-admin-index)。

#### 9.28.9. 通用檔案存取函式 [#](#functions-admin-genfile) <a href="#functions-admin-genfile" id="functions-admin-genfile"></a>

完整內容請見 [9.28.9. 通用檔案存取函式](https://docs.postgresql.tw/19/the-sql-language/functions/functions-admin/functions-admin-genfile.md#functions-admin-genfile)。

#### 9.28.10. 諮詢鎖函式 [#](#functions-advisory-locks) <a href="#functions-advisory-locks" id="functions-advisory-locks"></a>

完整內容請見 [9.28.10. 諮詢鎖函式](https://docs.postgresql.tw/19/the-sql-language/functions/functions-admin/functions-advisory-locks.md#functions-advisory-locks)。

***

原文：[PostgreSQL 18.6 Documentation](https://www.postgresql.org/docs/18/functions-admin.html)（原文版本：18.6；核對日期：2026-09-11）


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.postgresql.tw/19/the-sql-language/functions/functions-admin.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
