Re: pgsql: Remove --disable-spinlocks.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: pgsql: Remove --disable-spinlocks.
Дата
Msg-id 310f4005-91d7-42b2-ac70-92624260dd28@iki.fi
обсуждение исходный текст
Ответ на pgsql: Remove --disable-spinlocks.  (Thomas Munro <tmunro@postgresql.org>)
Ответы Re: pgsql: Remove --disable-spinlocks.
Список pgsql-committers
On 30/07/2024 14:03, Thomas Munro wrote:
> Remove --disable-spinlocks.

Sorry, spotted this only now:

> --- a/src/backend/postmaster/launch_backend.c
> +++ b/src/backend/postmaster/launch_backend.c
> @@ -108,9 +108,7 @@ typedef struct
>  #ifdef USE_INJECTION_POINTS
>     struct InjectionPointsCtl *ActiveInjectionPoints;
>  #endif
> -#ifndef HAVE_SPINLOCKS
>     PGSemaphore *SpinlockSemaArray;
> -#endif
>     int         NamedLWLockTrancheRequests;
>     NamedLWLockTranche *NamedLWLockTrancheArray;
>     LWLockPadded *MainLWLockArray;

The SpinLockSemaArray field should be completely completely, nut just 
the #ifndef guard around it.

-- 
Heikki Linnakangas
Neon (https://neon.tech)




В списке pgsql-committers по дате отправления: