Fujii Masao <masao(dot)fujii(at)gmail(dot)com> writes:
> But I think that we don't need to specify other than the wildcard
> in the database field of .pgpass to use the replication-specific
> password if the replication-specific user is supplied in .pgpass.
> So the current code is enough for me. Am I missing something?
You're looking at it from the perspective of somebody who knows
exactly how the code works. What Andrew tried is exactly what
95% of other people would try. There doesn't seem to me to be
any very good argument against making it work for them.
regards, tom lane