Hi Joost,

Joost Kraaijeveld [2007-06-20 19:36 +0200]:
> >   ls -l /pgdata/8.2
> ls -l /pgdata/8.2/
> ls: /pgdata/8.2/: Permission denied

I figured it out and reproduced it. This happens if
unix_socket_directory is not set in postgresql.conf. The current
postgresql-common versions *do* set this value, but old ones didn't,
so you still have a cluster which does not have this configured.

In this case, postgresql-common needs to stat the data directory to
find out the owner of the cluster and to determine the socket
directory.

This is mostly a problem of an unintelligible error message and only
happens in some corner cases. So I'll improve the error message to fix
this bug. Do you agree?

Thank you,

Martin

-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

Attachment: signature.asc
Description: Digital signature

Reply via email to