PG Doc comments form <noreply@postgresql.org> writes:
> Are the fields in the .pgpass file case sensitive by default?
Yes. User name and database name clearly must preserve case
distinctions. Maybe there is an argument for the host name
to be matched case-insensitively, but I think it could cause
problems when the host string is a socket path name.
regards, tom lane