Re: 7.4.2 on Solaris 9 - Error - Mailing list pgsql-general

From Bruce Momjian
Subject Re: 7.4.2 on Solaris 9 - Error
Date
Msg-id 200403252142.i2PLg5P15755@candle.pha.pa.us
Whole thread Raw
In response to Re: 7.4.2 on Solaris 9 - Error  (Jan Wieck <JanWieck@Yahoo.com>)
List 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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: 7.4.2 on Solaris 9 - Error
Next
From: Rob Hoopman
Date:
Subject: Re: self referencing tables/ nested sets etc...