> 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/preface/intro-whatis.md). Agents can also search and read this documentation through its [MCP server](https://docs.postgresql.tw/~gitbook/mcp).

# 1. 什麼是 PostgreSQL？ \#

### 1. 什麼是 PostgreSQL？ [#](#intro-whatis) <a href="#intro-whatis" id="intro-whatis"></a>

PostgreSQL 是一套物件關聯式資料庫管理系統（ORDBMS），以加州大學柏克萊分校資訊科學系所開發的 [POSTGRES 第 4.2 版](https://dsf.berkeley.edu/postgres.html)為基礎。POSTGRES 開創了許多概念，這些概念直到很久以後才出現在部分商業資料庫系統中。

PostgreSQL 是這份柏克萊原始程式碼的開放原始碼後裔。它支援 SQL 標準的大部分內容，並提供許多現代功能：

* [複雜查詢](https://docs.postgresql.tw/19/the-sql-language.md)
* [外鍵](https://docs.postgresql.tw/19/the-sql-language/ddl/ddl-constraints.md#ddl-constraints-fk)
* [觸發程序](https://docs.postgresql.tw/19/server-programming/triggers.md)
* [可更新的檢視表](https://docs.postgresql.tw/19/reference/sql-commands/sql-createview.md#ke-geng-xin-de-jian-shi-biao)
* [交易完整性](https://docs.postgresql.tw/19/the-sql-language/mvcc/transaction-iso.md)
* [多版本並行控制](https://docs.postgresql.tw/19/the-sql-language/mvcc.md)

此外，使用者還可以透過許多方式擴充 PostgreSQL，例如新增

* [資料型別](https://docs.postgresql.tw/19/the-sql-language/datatype.md)
* [函式](https://docs.postgresql.tw/19/the-sql-language/functions.md)
* [運算子](https://docs.postgresql.tw/19/the-sql-language/functions.md)
* [彙總函式](https://docs.postgresql.tw/19/the-sql-language/functions/functions-aggregate.md)
* [索引方法](https://docs.postgresql.tw/19/the-sql-language/indexes.md)
* [程序語言](https://docs.postgresql.tw/19/server-programming.md)

而且由於採用寬鬆的授權條款，任何人都可以為任何目的免費使用、修改及散布 PostgreSQL，無論是私人、商業或學術用途。

***

原文：[PostgreSQL 18.6 Documentation](https://www.postgresql.org/docs/18/intro-whatis.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/19/preface/intro-whatis.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.
