Обсуждение: Invalid argument

Поиск
Список
Период
Сортировка

Invalid argument

От
zhangshzh
Дата:
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

 

 

 

Re: Invalid argument

От
Tom Lane
Дата:
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