Re: [Slony1-general] Thread-safety detection on HP-UX - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: [Slony1-general] Thread-safety detection on HP-UX
Date
Msg-id 200410262213.i9QMDVf05471@candle.pha.pa.us
Whole thread Raw
In response to Re: [Slony1-general] Thread-safety detection on HP-UX  (Jan Wieck <JanWieck@Yahoo.com>)
Responses Re: [Slony1-general] Thread-safety detection on HP-UX
List pgsql-bugs
Jan Wieck wrote:
> On 10/22/2004 3:30 PM, Ed L. wrote:
>
> > Clean build of pgsql 7.4.5 on HPUX B.11.23 on ia64 with
> > --enable-thread-safety fails ...   :(
> >
> > $uname -a
> > HP-UX ... B.11.23 U ia64 0144848471 unlimited-user license
> >
> > $cd postgresql-7.4.5
> > $./configure --enable-thread-safety --without-readline --without-zlib
> > ...
> > checking pthread.h usability... yes
> > checking pthread.h presence... yes
> > checking for pthread.h... yes
> > configure: error:
> > Cannot enable threads on your platform.
>
> Unfortunately that doesn't mean that the switch is required to cause
> libpq to behave nicely for the Slony purposes. Can someone please test
> if Slony works on HP-UX even if PostgreSQL is NOT configured with
> --enable-thread-safety ?

I believe Slony always needs threading, it just can be used even if the
OS doesn't fully support all thread-safe functions, so on 8.0 you use
--thread_safety_force.  Jan, is that correct?

--
  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-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #1296: Server crashes when relation already exists using JDBC
Next
From: "PostgreSQL Bugs List"
Date:
Subject: BUG #1297: Postgres after 7.3.5 does not works on initdb stage