aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numeric.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2022-02-25 10:30:05 -0800
committerAndres Freund <andres@anarazel.de>2022-02-25 10:31:16 -0800
commit9ff7fd9063ce918e458a643b53eda1cf95f7d115 (patch)
treebc50677c5f5bee33857ac3988d4d90545f19e39f /src/backend/utils/adt/numeric.c
parent7d80e93fb1f1059ba3691b2584bb16992d7d734e (diff)
downloadpostgresql-9ff7fd9063ce918e458a643b53eda1cf95f7d115.tar.gz
postgresql-9ff7fd9063ce918e458a643b53eda1cf95f7d115.zip
pg_waldump: Fix error message for WAL files smaller than XLOG_BLCKSZ.
When opening a WAL file smaller than XLOG_BLCKSZ (e.g. 0 bytes long) while determining the wal_segment_size, pg_waldump checked errno, despite errno not being set by the short read. Resulting in a bogus error message. Author: Kyotaro Horiguchi <horikyota.ntt@gmail.com> Discussion: https://postgr.es/m/20220214.181847.775024684568733277.horikyota.ntt@gmail.com Backpatch: 11-, the bug was introducedin fc49e24fa
Diffstat (limited to 'src/backend/utils/adt/numeric.c')
0 files changed, 0 insertions, 0 deletions