Re: some problem explicit_bzero with building PostgreSQL on linux

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: some problem explicit_bzero with building PostgreSQL on linux
Дата
Msg-id 3885763.1678197734@sss.pgh.pa.us
обсуждение исходный текст
Ответ на some problem explicit_bzero with building PostgreSQL on linux  (Dimitry Markman <dmarkman@mathworks.com>)
Ответы Re: some problem explicit_bzero with building PostgreSQL on linux  (Dimitry Markman <dmarkman@mathworks.com>)
Список pgsql-hackers
Dimitry Markman <dmarkman@mathworks.com> writes:
> how we can guaranty that if HAVE_EXPLICIT_BZERO is not defined then
> explicit_bzero function implemented in port/explicit_bzero.c will be used (just like in Darwin or windows)

Did you remember to add explicit_bzero.o to LIBOBJS in
the configured Makefile.global?

If it still doesn't work, then evidently your toolchain is selecting
the system's built-in definition of explicit_bzero over the one in
src/port/.  This is not terribly surprising given that there has to be
some amount of compiler magic involved in that function.  You may have
to resort to actually building Postgres on a platform without
explicit_bzero.

            regards, tom lane



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

Предыдущее
От: Önder Kalacı
Дата:
Сообщение: Re: [PATCH] Use indexes on the subscriber when REPLICA IDENTITY is full on the publisher
Следующее
От: Maxim Orlov
Дата:
Сообщение: Re: XID formatting and SLRU refactorings (was: Add 64-bit XIDs into PostgreSQL 15)