Re: PostgreSQL does not have native spinlock support on this

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Martino Serri <mserri(at)tin(dot)it>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: PostgreSQL does not have native spinlock support on this
Date: 2004-06-15 00:51:02
Message-ID: 200406150051.i5F0p2c10960@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(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-bugs by date

  From Date Subject
Next Message PostgreSQL Bugs List 2004-06-15 00:52:20 BUG #1165: ECPG can't parse dynamic SQL with indicator
Previous Message PostgreSQL Bugs List 2004-06-14 23:08:37 BUG #1164: Informix compatibility ecpg