> In PostgreSQL 16, pg_basebackup could be run without prompting for a > password. > However, when running pg_basebacup on PostgreSQL 17, the user is prompted > for a password even if .pgpass is set.
Yup, that's a bug. Fix pushed, thanks for the report!