diff options
author | Tatsuo Ishii <ishii@postgresql.org> | 2015-03-14 08:16:50 +0900 |
---|---|---|
committer | Tatsuo Ishii <ishii@postgresql.org> | 2015-03-14 08:16:50 +0900 |
commit | 364c006c1fba7ba7825fb06ef0166e752546f357 (patch) | |
tree | 3b8df0362affc964185d6d590e95d13a0a8699eb /src/backend/access/transam/commit_ts.c | |
parent | 82fe8b1119e4187f3d991564274607b0b4089aca (diff) | |
download | postgresql-364c006c1fba7ba7825fb06ef0166e752546f357.tar.gz postgresql-364c006c1fba7ba7825fb06ef0166e752546f357.zip |
Fix integer overflow in debug message of walreceiver
The message tries to tell the replication apply delay which fails if
the first WAL record is not applied yet. Fix is, instead of telling
overflowed minus numeric, showing "N/A" which indicates that the delay
data is not yet available. Problem reported by me and patch by
FabrÃzio de Royes Mello.
Back patched to 9.4, 9.3 and 9.2 stable branches (9.1 and 9.0 do not
have the debug message).
Diffstat (limited to 'src/backend/access/transam/commit_ts.c')
0 files changed, 0 insertions, 0 deletions