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