如果 PostgreSQL 使用 OpenLDAP 构建,则可以使用 DNS SRV 发现 LDAP 服务器
https://postgresql.ac.cn/docs/12/auth-ldap.html