Re: PostgreSQL does not have native spinlock support on this - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: PostgreSQL does not have native spinlock support on this
Date
Msg-id 200406150051.i5F0p2c10960@candle.pha.pa.us
Whole thread Raw
In response to Re: PostgreSQL does not have native spinlock support on this  (Martino Serri <mserri@tin.it>)
List pgsql-bugs
Martino Serri wrote:
> Bruce Momjian wrote:
>  > That is very strange. I assume you are on an i386 cpu.  Many are running
>  > the same configuration just fine.
>  >
>
> Thank you for the answer.
>
> Yes, this is a PentiumIII 800Mhz.
>
>
> I've searched on /src/include/storage/s_lock.h and i've found this line.
>
> #ifdef HAVE_SPINLOCKS
> #error PostgreSQL does not have native spinlock support on this ...
>
> I suppose that would be
>
> #ifndef HAVE_SPINLOCKS
>
> It's correct?

No, that would mean it would use the spinlock code (slow) rather than
the test and set code.  What OS is this?  My guess is that there is a
missing spinlock configuration variable in proper src/template file.
This is all redesigned in 7.5.

--
  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: "PostgreSQL Bugs List"
Date:
Subject: BUG #1164: Informix compatibility ecpg
Next
From: "PostgreSQL Bugs List"
Date:
Subject: BUG #1165: ECPG can't parse dynamic SQL with indicator