Windows versions later than Windows Server 2003 map "localhost" to ::1. Account for that in the generated pg_hba.conf, fixing another oversight in commit f6dc6dd5ba. Back-patch to 9.0, like that commit. David Rowley and Noah Misch
f6dc6dd5ba
2c03216d83