PostgreSQL 15参数
authentication_timeout
完成客户端认证所允许的最长时间。
怎么用
认证缓慢时同时检查目录服务、DNS 和网络响应。
先查看当前状态
SELECT name, setting, unit, context, source, pending_restart
FROM pg_settings
WHERE name = 'authentication_timeout';使用前留意
示例只读取当前配置。修改前按所选版本确认单位、允许范围和生效上下文;部分来源信息需要 pg_read_all_settings 等权限,不要直接套用其他实例的取值。