Closed acoshift closed 1 year ago
@otan I upgraded from 1.10.7 to 1.10.8, and found that .pgpass file is no longer processed (regardless of whether .pgpass contains an invalid line). Like #1120 suggests,
if len(line) != 0 || line[0] != '#' {
return
}
is by error always true, and
if len(split) == 5 {
return
}
is by error (as long as line is valid) always true.
Please fix this regression introduced by #1101 and release immediately, or more people will be confused.
After I upgrade lib/pq from v1.10.7 to v1.10.8. It's panic every query command with message
After investigate I found that if
.pgpass
contains empty line, It'll error.Step to reproduce
~/.pgpass
with this content.pgpass
permission