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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gregory Stark <greg(dot)stark(at)enterprisedb(dot)com>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Re-enable the old code in xlog.c that tried to use
Date: 2009-01-11 19:22:00
Message-ID: 1194.1231701720@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Gregory Stark <greg(dot)stark(at)enterprisedb(dot)com> writes:
> tgl(at)postgresql(dot)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

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2009-01-12 05:10:45 pgsql: Implement prefetching via posix_fadvise() for bitmap index scans.
Previous Message Gregory Stark 2009-01-11 19:06:38 Re: pgsql: Re-enable the old code in xlog.c that tried to use

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2009-01-11 19:32:10 Re: Recovery Test Framework
Previous Message Tom Lane 2009-01-11 19:14:50 Re: posix_fadvise v22