mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Fix more portability issues with casts to Size when using off_t
This should tame the beast, as there are no other places where off_t is used in the new error messages. Reported again by longfin, which complained about walsender.c while I spotted the other two ones while double-checking.
This commit is contained in:
@@ -1422,7 +1422,7 @@ RestoreSlotFromDisk(const char *name)
|
||||
ereport(PANIC,
|
||||
(errmsg("could not read file \"%s\": read %d of %zu",
|
||||
path, readBytes,
|
||||
ReplicationSlotOnDiskConstantSize)));
|
||||
(Size) ReplicationSlotOnDiskConstantSize)));
|
||||
}
|
||||
|
||||
/* verify magic */
|
||||
|
Reference in New Issue
Block a user