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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Re-enable the old code in xlog.c that tried to use
Дата
Msg-id 1194.1231701720@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Re-enable the old code in xlog.c that tried to use  (Gregory Stark <greg.stark@enterprisedb.com>)
Список pgsql-committers
Gregory Stark <greg.stark@enterprisedb.com> writes:
> tgl@postgresql.org (Tom Lane) writes:
> ! #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.

No, checking the DECL part as well is critical (if we don't see a
declaration we risk ABI incompatibility).  And in any case I'm insisting
on being able to turn this off in pg_config_manual.h.

            regards, tom lane

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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: pgsql: Re-enable the old code in xlog.c that tried to use
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Implement prefetching via posix_fadvise() for bitmap index scans.