> 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/18/preface.md).

# 前言

## 前言

**目錄**

* [1. 什麼是 PostgreSQL？](https://docs.postgresql.tw/18/preface/intro-whatis.md)
* [2. PostgreSQL 簡史](https://docs.postgresql.tw/18/preface/history.md)
  * [2.1. 柏克萊 POSTGRES 專案](https://docs.postgresql.tw/18/preface/history.md#history-berkeley)
  * [2.2. Postgres95](https://docs.postgresql.tw/18/preface/history.md#history-postgres95)
  * [2.3. PostgreSQL](https://docs.postgresql.tw/18/preface/history.md#history-postgresql)
* [3. 慣例](https://docs.postgresql.tw/18/preface/notation.md)
* [4. 更多資訊](https://docs.postgresql.tw/18/preface/resources.md)
* [5. 錯誤回報指引](https://docs.postgresql.tw/18/preface/bug-reporting.md)
  * [5.1. 辨識錯誤](https://docs.postgresql.tw/18/preface/bug-reporting.md#bug-reporting-identifying-bugs)
  * [5.2. 回報哪些內容](https://docs.postgresql.tw/18/preface/bug-reporting.md#bug-reporting-what-to-report)
  * [5.3. 在哪裡回報錯誤](https://docs.postgresql.tw/18/preface/bug-reporting.md#bug-reporting-where-to-report-bugs)

本書是 PostgreSQL 的官方文件。本書由 PostgreSQL 開發人員與其他志工撰寫，與 PostgreSQL 軟體的開發同步進行。本書說明目前版本的 PostgreSQL 正式支援的所有功能。

為了讓大量的 PostgreSQL 相關資訊易於掌握，本書分成數個部分。每個部分各自針對不同類別的使用者，或是 PostgreSQL 使用經驗處於不同階段的使用者：

* [第一部分](https://docs.postgresql.tw/18/tutorial.md)是給新使用者的非正式入門介紹。
* [第二部分](https://docs.postgresql.tw/18/the-sql-language.md)說明 SQL 查詢語言環境，包括資料型別與函式，以及使用者層級的效能調校。每位 PostgreSQL 使用者都應該閱讀這個部分。
* [第三部分](https://docs.postgresql.tw/18/server-administration.md)說明伺服器的安裝與管理。每位執行 PostgreSQL 伺服器的人，無論是供私人使用或供他人使用，都應該閱讀這個部分。
* [第四部分](https://docs.postgresql.tw/18/client-interfaces.md)說明 PostgreSQL 用戶端程式的程式設計介面。
* [第五部分](https://docs.postgresql.tw/18/server-programming.md)為進階使用者提供有關伺服器擴充能力的資訊，主題包括使用者自訂的資料型別與函式。
* [第六部分](https://docs.postgresql.tw/18/reference.md)包含 SQL 命令、用戶端程式與伺服器程式的參考資訊。這個部分以依命令或程式排序的結構化資訊，輔助其他各部分。
* [第七部分](https://docs.postgresql.tw/18/internals.md)包含各種可能對 PostgreSQL 開發人員有用的資訊。

***

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


---

# 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/18/preface.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.
