> 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/client-interfaces/information-schema/infoschema-parameters.md). Agents can also search and read this documentation through its [MCP server](https://docs.postgresql.tw/~gitbook/mcp).

# 35.33. parameters \#

### 35.33. `parameters` [#](#infoschema-parameters) <a href="#infoschema-parameters" id="infoschema-parameters"></a>

檢視表 `parameters` 包含目前資料庫中所有函式之參數（引數）的相關資訊。只有目前使用者可存取（身為擁有者或具有某種權限）的函式才會顯示。

#### 表 35.31. `parameters` 欄位 [#](#infoschema-parameters-columns) <a href="#infoschema-parameters-columns" id="infoschema-parameters-columns"></a>

| <p>欄位類型</p><p>說明</p>                                                                                                                                                                                                          |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><code>specific\_catalog</code> <code>sql\_identifier</code></p><p>包含該函式的資料庫名稱（一律為目前資料庫）</p>                                                                                                                                |
| <p><code>specific\_schema</code> <code>sql\_identifier</code></p><p>包含該函式的綱要名稱</p>                                                                                                                                            |
| <p><code>specific\_name</code> <code>sql\_identifier</code></p><p>函式的“特定名稱”。詳細資訊請參閱<a href="https://docs.postgresql.tw/19/client-interfaces/information-schema/infoschema-routines.md">第 35.45 節</a>。</p>                     |
| <p><code>ordinal\_position</code> <code>cardinal\_number</code></p><p>該參數在函式引數清單中的序數位置（從 1 起算）</p>                                                                                                                            |
| <p><code>parameter\_mode</code> <code>character\_data</code></p><p><code>IN</code> 表示輸入參數，<code>OUT</code> 表示輸出參數，<code>INOUT</code> 表示輸入／輸出參數。</p>                                                                           |
| <p><code>is\_result</code> <code>yes\_or\_no</code></p><p>適用於 PostgreSQL 中未提供的功能</p>                                                                                                                                          |
| <p><code>as\_locator</code> <code>yes\_or\_no</code></p><p>適用於 PostgreSQL 中未提供的功能</p>                                                                                                                                         |
| <p><code>parameter\_name</code> <code>sql\_identifier</code></p><p>參數名稱；若參數沒有名稱，則為 null</p>                                                                                                                                   |
| <p><code>data\_type</code> <code>character\_data</code></p><p>若參數的資料型別為內建型別，則為該型別；若為某種陣列，則為 <code>ARRAY</code>（此時請參閱檢視表 <code>element\_types</code>）；否則為 <code>USER-DEFINED</code>（此時型別由 <code>udt\_name</code> 及相關欄位識別）。</p> |
| <p><code>character\_maximum\_length</code> <code>cardinal\_number</code></p><p>一律為 null，因為 PostgreSQL 不會將此資訊套用於參數資料型別</p>                                                                                                     |
| <p><code>character\_octet\_length</code> <code>cardinal\_number</code></p><p>一律為 null，因為 PostgreSQL 不會將此資訊套用於參數資料型別</p>                                                                                                       |
| <p><code>character\_set\_catalog</code> <code>sql\_identifier</code></p><p>適用於 PostgreSQL 中未提供的功能</p>                                                                                                                         |
| <p><code>character\_set\_schema</code> <code>sql\_identifier</code></p><p>適用於 PostgreSQL 中未提供的功能</p>                                                                                                                          |
| <p><code>character\_set\_name</code> <code>sql\_identifier</code></p><p>適用於 PostgreSQL 中未提供的功能</p>                                                                                                                            |
| <p><code>collation\_catalog</code> <code>sql\_identifier</code></p><p>一律為 null，因為 PostgreSQL 不會將此資訊套用於參數資料型別</p>                                                                                                              |
| <p><code>collation\_schema</code> <code>sql\_identifier</code></p><p>一律為 null，因為 PostgreSQL 不會將此資訊套用於參數資料型別</p>                                                                                                               |
| <p><code>collation\_name</code> <code>sql\_identifier</code></p><p>一律為 null，因為 PostgreSQL 不會將此資訊套用於參數資料型別</p>                                                                                                                 |
| <p><code>numeric\_precision</code> <code>cardinal\_number</code></p><p>一律為 null，因為 PostgreSQL 不會將此資訊套用於參數資料型別</p>                                                                                                             |
| <p><code>numeric\_precision\_radix</code> <code>cardinal\_number</code></p><p>一律為 null，因為 PostgreSQL 不會將此資訊套用於參數資料型別</p>                                                                                                      |
| <p><code>numeric\_scale</code> <code>cardinal\_number</code></p><p>一律為 null，因為 PostgreSQL 不會將此資訊套用於參數資料型別</p>                                                                                                                 |
| <p><code>datetime\_precision</code> <code>cardinal\_number</code></p><p>一律為 null，因為 PostgreSQL 不會將此資訊套用於參數資料型別</p>                                                                                                            |
| <p><code>interval\_type</code> <code>character\_data</code></p><p>一律為 null，因為 PostgreSQL 不會將此資訊套用於參數資料型別</p>                                                                                                                  |
| <p><code>interval\_precision</code> <code>cardinal\_number</code></p><p>一律為 null，因為 PostgreSQL 不會將此資訊套用於參數資料型別</p>                                                                                                            |
| <p><code>udt\_catalog</code> <code>sql\_identifier</code></p><p>定義該參數資料型別的資料庫名稱（一律為目前資料庫）</p>                                                                                                                                 |
| <p><code>udt\_schema</code> <code>sql\_identifier</code></p><p>定義該參數資料型別的綱要名稱</p>                                                                                                                                             |
| <p><code>udt\_name</code> <code>sql\_identifier</code></p><p>參數資料型別的名稱</p>                                                                                                                                                    |
| <p><code>scope\_catalog</code> <code>sql\_identifier</code></p><p>適用於 PostgreSQL 中未提供的功能</p>                                                                                                                                  |
| <p><code>scope\_schema</code> <code>sql\_identifier</code></p><p>適用於 PostgreSQL 中未提供的功能</p>                                                                                                                                   |
| <p><code>scope\_name</code> <code>sql\_identifier</code></p><p>適用於 PostgreSQL 中未提供的功能</p>                                                                                                                                     |
| <p><code>maximum\_cardinality</code> <code>cardinal\_number</code></p><p>一律為 null，因為在 PostgreSQL 中陣列的最大基數一律為無限制</p>                                                                                                           |
| <p><code>dtd\_identifier</code> <code>sql\_identifier</code></p><p>此參數之資料型別描述子的識別碼，在與該函式相關的資料型別描述子中是唯一的。這主要用於與此類識別碼的其他實例進行連接。（識別碼的具體格式並未定義，也不保證在未來版本中維持不變。）</p>                                                               |
| <p><code>parameter\_default</code> <code>character\_data</code></p><p>參數的預設運算式；若沒有預設運算式，或該函式不是由目前已啟用的角色所擁有，則為 null。</p>                                                                                                       |

<br>

***

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


---

# 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/client-interfaces/information-schema/infoschema-parameters.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.
