"Joshua D. Drake" <jd@commandprompt.com> writes:
> Is psql getting the home directory from /etc/passwd?
Yes, of course.
> If so what can we do about that?
Fix your /etc/passwd entry? Seems unlikely that psql is the only
program that believes that entry.
regards, tom lane