Thread: 64 bit version on Solaris 7...

64 bit version on Solaris 7...

From
"Matthew C. Aycock"
Date:
Has anyone been able to get 6.5beta to work with Suns compiler in 64bit mode?
I have been able to hack enough to get it to bulild and install, but when
trying to connect with psql over unix domain socket, the server does not know
that it is a local connection and says there is no pg_hba.conf entry.

I decided to try and make sure that unix domain sockets work in general on
Solaris 6 64bit, and in my code examples they do.

Anyone have any ideas? 

Matt
----------
Matthew C. Aycock
Operating Systems Analyst/Admin, Senior
Dept Math/CS
Emory University, Atlanta, GA 
Internet:  matt@mathcs.emory.edu         




Re: [HACKERS] 64 bit version on Solaris 7...

From
Tom Lane
Date:
"Matthew C. Aycock" <matt@mathcs.emory.edu> writes:
> I have been able to hack enough to get it to bulild and install, but when
> trying to connect with psql over unix domain socket, the server does not know
> that it is a local connection and says there is no pg_hba.conf entry.

Sounds like you need to trace through src/backend/libpq/hba.c and figure
out why it's failing to match the hba.conf entry.  Probably some silly
little bit of machine-dependent coding, but I don't see it offhand...
shouldn't be too hard to narrow it down with a debugger attached to the
postmaster process, however.
        regards, tom lane