On Sat, 2012-03-17 at 17:48 +0100, Cédric Villemain wrote:
> I agree with Andres.
> I believe we should use sync_file_range (_before?) with linux.
> And we can use posix_fadvise_dontneed on other kernels.
OK, updated patch attached. sync_file_range() is preferred,
posix_fadvise() is a fallback.
In response to
pgsql-hackers by date
|Next:||From: Magnus Hagander||Date: 2012-03-26 06:50:24|
|Subject: Re: Reporting WAL file containing checkpoint's REDO record
in pg_controldata's result|
|Previous:||From: Joachim Wieland||Date: 2012-03-26 02:50:51|
|Subject: Re: patch for parallel pg_dump|