Skip to content

Commit ab67ab9

Browse files
knizhnikKonstantin Knizhnik
and
Konstantin Knizhnik
authored
Fix elog format error in wallog_mapping_file (#316)
Co-authored-by: Konstantin Knizhnik
1 parent 23f2d41 commit ab67ab9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/access/heap/rewriteheap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ wallog_mapping_file(char const* path, int fd)
804804
{
805805
off_t size = lseek(fd, 0, SEEK_END);
806806
char* buf;
807-
elog(DEBUG1, "neon: writing contents of rewrite file %s, size %ld", path, size);
807+
elog(DEBUG1, "neon: writing contents of rewrite file %s, size %ld", path, (long)size);
808808
if (size < 0)
809809
elog(ERROR, "Failed to get size of mapping file: %m");
810810
buf = palloc((size_t)size);

0 commit comments

Comments
 (0)