summaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeIndexscan.c
diff options
context:
space:
mode:
authorTatsuo Ishii <ishii@postgresql.org>2015-03-14 08:16:50 +0900
committerTatsuo Ishii <ishii@postgresql.org>2015-03-14 08:21:45 +0900
commit432478597957ccbd80aea8ad2befeb67db2f6564 (patch)
tree7aabc4e3405c87d3a92e5167e5e27905397e9379 /src/backend/executor/nodeIndexscan.c
parent32269be59efc740ca8c800b348d8ea8098d91ab2 (diff)
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/executor/nodeIndexscan.c')
0 files changed, 0 insertions, 0 deletions