Don't try to call posix_fadvise() unless supplies a declaration
authorTom Lane
Sun, 18 Jun 2006 18:30:21 +0000 (18:30 +0000)
committerTom Lane
Sun, 18 Jun 2006 18:30:21 +0000 (18:30 +0000)
commit1e8ae136407f2aedd07cc748589f46087b98b950
tree711fa053681b05a10270210d6c13f9e73d6e3536
parent22045666d62ed5742fbdf4b1548fe1e30533684f
Don't try to call posix_fadvise() unless  supplies a declaration
for it.  Hopefully will fix core dump evidenced by some buildfarm members
since fadvise patch went in.  The actual definition of the function is not
ABI-compatible with compiler's default assumption in the absence of any
declaration, so it's clearly unsafe to try to call it without seeing a
declaration.
configure
configure.in
src/backend/access/transam/xlog.c
src/include/pg_config.h.in