ITAGAKI Takahiro <[EMAIL PROTECTED]> writes: > Here is a small patch to prevent undesired WAL file caching by kernel. > posix_fadvise(POSIX_FADV_DONTNEED) attempts to free cached pages and > the kernel will discard them in preference to other data caches.
On plenty of platforms, this won't even compile ...
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faq
