Re: 7.4.2 on Solaris 9 - Error

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Jan Wieck <JanWieck(at)Yahoo(dot)com>
Cc: Kris Jurka <books(at)ejurka(dot)com>, Carmen Gloria Sepulveda Dedes <csepulveda(at)atichile(dot)com>, pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Re: 7.4.2 on Solaris 9 - Error
Date: 2004-03-25 21:42:05
Message-ID: 200403252142.i2PLg5P15755@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jan Wieck wrote:
> > This problem was just recently fixed in cvs and will go out in the 7.4.3
> > release. For no your best bet is to checkout the 7.4 branch from cvs, or
> > search the pgsql-committers archives to find the patch you need to apply.
>
> Isn't that funny ... I just yesterday ran into the same problem with
> 7.4.2 on Solaris.
>
> One other problem I am looking into (and why I tried to compile with
> thread safety in the first place) is that this somehow did not turn on
> -D_REENTRANT in the CFLAGS for libpq. And that leads to libpq not using
> the threadsafe definition of errno, leading to serious communication
> trouble in the end (pqReadData() failing with ENOENT while the real
> error is a harmless EAGAIN from a nonblocking recv()).

Please try REL7_4_STABLE to see if that works. It has several Solaris
thread fixes, both for getpwuid_r and template/solaris.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2004-03-25 21:43:03 Re: 7.4.2 on Solaris 9 - Error
Previous Message Neil Conway 2004-03-25 21:09:07 Re: subversion vs cvs (Was: Re: linked list rewrite)