zhangshzh <zhangshzh@xxxxxxx> writes: > I am working on hpux itanium platform; > I am using postgres 9.1.3 version and have compiled 64bit libpq library. > While conneting I am getting error > " could not get socket error status: Invalid argument" Check into 32-vs-64-bit compilation options, and particularly whether PG's configure script chose the right type for the last argument to getsockopt(). I suspect it can be either 32 or 64 bits depending on compile options on HPUX, so it'd be an easy thing to mess up. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general