Volodymyr Kostyrko wrote:
> Zdenek Kotala wrote:
>> I tested on Solaris AMD64 and Sparc v240 (64bit) and it works for me.
>> Do you use 32bit or 64bit version of postgreSQL and what you have in
>> .pgpass?
>
> I use sparc64 and my .pgpass file was like:
> localhost:5432:*:pgsql:password
>
> Actually i have already found the cause. Authorization fails when
> postgresql-client was compiled with -O3 but it works otherwise. Maybe it
> is just another gcc optimization issue.
OK. Good to know. GCC also does not generate much optimal SPARC code.
Unfortunately, If you use FreeBSD on SPARC, I think there is no another
possibility (another C compiler).
Zdenek