# 1. 什麼是 PostgreSQL？

PostgreSQL 是美國加州伯克萊大學資訊科學系基於 [POSTGRES 4.2](https://dsf.berkeley.edu/postgres.html) 所研發的物件關聯式資料庫管理系統（ORDBMS, Object-Relational Database Management System）。POSTGRES 中的許多重要概念成為日後一些商用資料庫系統重要的一部份。

PostgreSQL 由伯克萊大學公開其原始碼所誕生，它支援了大多數的標準 SQL 語法，並提供許多先進的功能：

* 複雜查詢（complex queries）
* 外部索引鍵（foreign keys）
* 觸發器（triggers）
* 可更新檢查表（updatable views）
* 事務完整性（transactional integrity）
* 多版本併行控制（multiversion concurrency control）

同時，PostgreSQL 也支援讓使用者能以自己的方式進行擴充。比如透過新增：

* 資料型別（data types）
* 函數（functions）
* 操作（operators）
* 聚合函數（aggregate functions）
* 索引方法（index methods）
* 過程式語言（procedural languages）

並且基於自由許可證，任何人都能夠以任何目的，免費地使用、修改、與散布 PostgreSQL，不論是個人使用、商業用途還是學術研究。


---

# 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/preface/01_intro-whatis.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.
