Alvaro Herrera 09e196e453 Use callbacks in SlruScanDirectory for the actual action
Previously, the code assumed that the only possible action to take was
to delete files behind a certain cutoff point.  The async notify code
was already a crock: it used a different "pagePrecedes" function for
truncation than for regular operation.  By allowing it to pass a
callback to SlruScanDirectory it can do cleanly exactly what it needs to
do.

The clog.c code also had its own use for SlruScanDirectory, which is
made a bit simpler with this.
2011-10-04 14:03:23 -03:00
..
2011-09-11 21:54:32 +03:00
2011-09-07 13:29:26 -04:00
2011-09-11 21:54:32 +03:00
2011-09-04 01:13:16 -04:00
2011-09-04 01:13:16 -04:00