Skip to content

Commit 8b2162a

Browse files
author
Alexander Korotkov
committed
Small fix for slru.
1 parent 63325d2 commit 8b2162a

File tree

1 file changed

+1
-1
lines changed
  • src/backend/access/transam

1 file changed

+1
-1
lines changed

src/backend/access/transam/slru.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1291,7 +1291,7 @@ SlruDeleteSegment(SlruCtl ctl, int segno)
12911291
if (did_write)
12921292
goto restart;
12931293

1294-
snprintf(path, MAXPGPATH, "%s/%04X", ctl->Dir, segno);
1294+
SlruFileName(ctl, path, segno);
12951295
ereport(DEBUG2,
12961296
(errmsg("removing file \"%s\"", path)));
12971297
unlink(path);

0 commit comments

Comments
 (0)