Re: Remove pthread_is_threaded_np() checks in postmaster

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Remove pthread_is_threaded_np() checks in postmaster
Дата
Msg-id 20240123194708.tyuzg4vreuhbdhmc@awork3.anarazel.de
обсуждение исходный текст
Ответ на Remove pthread_is_threaded_np() checks in postmaster  ("Tristan Partin" <tristan@neon.tech>)
Ответы Re: Remove pthread_is_threaded_np() checks in postmaster  ("Tristan Partin" <tristan@neon.tech>)
Список pgsql-hackers
Hi,
On 2024-01-23 13:20:15 -0600, Tristan Partin wrote:
> These checks are not effective for what they are trying to prevent. A recent
> commit[0] in libcurl when used on macOS has been tripping the
> pthread_is_threaded_np() check in postmaster.c for shared_preload_libraries
> entries which use libcurl (like Neon). Under the hood, libcurl calls
> SCDynamicStoreCopyProxies[1], which apparently causes the check to fail.

Maybe I'm missing something, but isn't that indicating the exact opposite,
namely that the check is precisely doing what it's intended?

Greetings,

Andres Freund



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Build versionless .so for Android
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Refactoring backend fork+exec code