|
|
|
|
@ -48,7 +48,7 @@ |
|
|
|
|
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group |
|
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California |
|
|
|
|
* |
|
|
|
|
* $PostgreSQL: pgsql/src/backend/access/transam/slru.c,v 1.21 2004/08/29 05:06:40 momjian Exp $ |
|
|
|
|
* $PostgreSQL: pgsql/src/backend/access/transam/slru.c,v 1.22 2004/09/06 03:04:27 tgl Exp $ |
|
|
|
|
* |
|
|
|
|
*------------------------------------------------------------------------- |
|
|
|
|
*/ |
|
|
|
|
@ -944,7 +944,7 @@ SlruScanDirectory(SlruCtl ctl, int cutoffPage, bool doDeletions) |
|
|
|
|
if (doDeletions) |
|
|
|
|
{ |
|
|
|
|
snprintf(path, MAXPGPATH, "%s/%s", ctl->Dir, clde->d_name); |
|
|
|
|
ereport(LOG, |
|
|
|
|
ereport(DEBUG1, |
|
|
|
|
(errmsg("removing file \"%s\"", path))); |
|
|
|
|
unlink(path); |
|
|
|
|
} |
|
|
|
|
|