Re: pgsql: Re-enable the old code in xlog.c that tried to use

Поиск
Список
Период
Сортировка
Искать
От
Gregory Stark
Тема
Re: pgsql: Re-enable the old code in xlog.c that tried to use
Дата
Msg-id
877i51oe69.fsf@oxford.xeocode.com
Ответ на
Список

tgl@postgresql.org (Tom Lane) writes:

> Log Message:
> -----------
> Re-enable the old code in xlog.c that tried to use posix_fadvise(), so that
> we can get some buildfarm feedback about whether that function is still
> problematic.  (Note that the planned async-preread patch will not really
> prove anything one way or the other in buildfarm testing, since it will
> be inactive with default GUC settings.)

! #if defined(USE_POSIX_FADVISE) && defined(POSIX_FADV_DONTNEED)

I think if we're not putting the AC_CHECK_RUN check in then this should just
be HAVE_POSIX_FADVISE not USE_POSIX_FADVISE. The latter was the define I made
if the run check passed.

-- 
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com
  Get trained by Bruce Momjian - ask me about EnterpriseDB's PostgreSQL training!
В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
Сообщение: Re: Recovery Test Framework
От: Tom Lane
Дата:
Сообщение: Re: posix_fadvise v22
FAQ