> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# postgresql_* サーバー設定

> postgresql_* で生成されるグループ内の ClickHouse サーバー設定。

これらの設定はClickHouseサーバーを構成するもので、ClickHouseのソースコードから自動生成されています。

## postgresql\_port

PostgreSQLプロトコルでクライアントと通信するためのポートです。

> [!NOTE]
>
> * 正の整数を指定すると、待ち受けるポート番号になります
> * PostgreSQLプロトコルでのクライアントとの通信を無効にするには、値を空にします

**例**

```xml theme={null}
<postgresql_port>9005</postgresql_port>
```

## postgresql\_require\_secure\_transport

型 Bool デフォルト値 0 再起動せずに変更可能 Notrue に設定すると、[postgresql\_port](https://clickhouse.com/docs/ja/reference/settings/server-settings/settings/postgresql.md#postgresql_port) で接続するクライアントとの通信にセキュアな接続が必須になります。`<sslmode=disable>` オプションを指定した接続は拒否されます。[OpenSSL](https://clickhouse.com/docs/ja/reference/settings/server-settings/settings/other.md#openssl) の設定とあわせて使用してください。
