pgsql: Fix more portability issues with casts to Size when using off_t

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix more portability issues with casts to Size when using off_t
Date: 2018-07-18 00:53:30
Message-ID: E1ffaig-0005wQ-Ud@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/94019c879a138454af723fa8bfc346d4a44ecd47

Modified Files
--------------
src/backend/replication/logical/snapbuild.c | 3 ++-
src/backend/replication/slot.c | 2 +-
src/backend/replication/walsender.c | 2 +-
3 files changed, 4 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2018-07-18 01:02:19 Re: pgsql: Rework error messages around file handling
Previous Message Michael Paquier 2018-07-18 00:14:14 Re: pgsql: Rework error messages around file handling