I am trying to package postgres from one machine to another. The source is windows 7 with IP V6 and target is windows XP with IPv4.
Starting postgres on windows XP gives error
2010-11-01 12:01:07 IST LOG: invalid IP address "::1": Unknown host 2010-11-01 12:01:07 IST CONTEXT: line 76 of configuration file "C:/postgres/data/pg_hba.conf" 2010-11-01 12:01:07 IST FATAL: could not load pg_hba.conf
-- postgres - sharing same pg_hba.conf between IpV4 system and IpV6 system
Here is how my pg_hba.conf looks like
# TYPE DATABASE USER CIDR-ADDRESS METHOD # IPv4 local connections: host all all 127.0.0.1/32 trust # IPv6 local connections: host all all ::1/128 trust
Is there a way to use same pg_hba.conf common to both ipv6 and ipv4?