Invalid argument

Started by zhangshzhover 13 years ago2 messagesgeneral
Jump to latest
#1zhangshzh
zhangshzh@ffcs.cn

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"

can someone help here? Why I am getting this error while connecting to database.

Regards

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: zhangshzh (#1)
Re: Invalid argument

zhangshzh <zhangshzh@ffcs.cn> 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