Re: PostgreSQL does not have native spinlock support on this
От | Bruce Momjian |
---|---|
Тема | Re: PostgreSQL does not have native spinlock support on this |
Дата | |
Msg-id | 200406150051.i5F0p2c10960@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: PostgreSQL does not have native spinlock support on this (Martino Serri <mserri@tin.it>) |
Список | 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 по дате отправления: