Daniel Rubio <drubior(at)tinet(dot)org> writes:
> If I log via psql using the postgres user via psql there's no problem,
> but If I try to log as a different user, the postmaster process hangs
> and I can't connect.
That's not a hang, it's a core dump. Can you get a stack trace with
gdb or local equivalent?
regards, tom lane