yugabyte/yugabyte-db

[YSQL] pgsql_proxy_bind_address=127.0.0.1:5434,127.0.0.2:5436 results in PG crash

開放

#28,643 建立於 2025年9月19日

 (3 則留言) (0 個反應) (0 位負責人)C (1,003 個分叉)batch import
area/ysqlgood first issuekind/bugpriority/mediumstatus/awaiting-triage

倉庫指標

星標
 (8,229 顆星)
PR 合併指標
 (平均合併 17天 21小時) (30 天內合併 92 個 PR)

描述

Jira Link: DB-18336

Description

This tserver gflag is being transformed to the PG listen_addresses and port parameter. PG only supports a single port in its listen specification, so the above specification should be rejected as invalid. Instead, a mix of ports is used to start PG and create the socket path, causing PG to fail startup.

https://www.postgresql.org/docs/current/runtime-config-connection.html#:~:text=Note%20that%20the%20same%20port%20number%20is%20used%20for%20all%20IP%20addresses%20the%20server%20listens%20on

Issue Type

kind/bug

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.

貢獻者指南