Hi, The complete startup failure is due to the fact that postgresql.conf's 'listen_addresses' defaults to 'localhost'. If this is changed to '127.0.0.1', then the cluster starts up. The stats collector also tries 'localhost' and fails, thus the autovacuum daemon does not work.
OTOH there might be crazy things like an IPv6-only 'localhost' address, so I'm really inclined not to hardcode :127.0.0.1 (or ::1) in postgresql-common. I think it *is* reasonable to fall back to this value in pg_createcluster if 'localhost' is not resolvable, though. However, this fallback mechanism only really makes sense if it also gets implemented in pgstats.c (I only need to find out how to convert 127.0.0.1 and/or ::1 into a 'struct addrinfo'; I googled a bit, but pointers to cheatsheets appreciated :) ). Thanks, Martin -- Martin Pitt http://www.piware.de Ubuntu Developer http://www.ubuntu.com Debian Developer http://www.debian.org In a world without walls and fences, who needs Windows and Gates?
signature.asc
Description: Digital signature

