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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy