sendTimeLineHistory-off_t.patch
text/x-patch
Filename: sendTimeLineHistory-off_t.patch
Type: text/x-patch
Part: 0
Patch
Format: unified
| File | + | − |
|---|---|---|
| src/backend/replication/walsender.c | 2 | 2 |
diff --git a/src/backend/replication/walsender.c b/src/backend/replication/walsender.c index 5408b14..e4700da 100644 --- a/src/backend/replication/walsender.c +++ b/src/backend/replication/walsender.c @@ -315,8 +315,8 @@ SendTimeLineHistory(TimeLineHistoryCmd *cmd) char histfname[MAXFNAMELEN]; char path[MAXPGPATH]; int fd; - size_t histfilelen; - size_t bytesleft; + off_t histfilelen; + off_t bytesleft; /* * Reply with a result set with one row, and two columns. The first col