diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2021-02-04 17:40:33 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2021-02-04 17:40:33 +0200 |
commit | 2f86ab305e7fbc7b84960079551cf9cafd29684f (patch) | |
tree | 18861f4d59a0fbe8037d9024db5fbb04824c0216 /src/backend/access/gist/gistutil.c | |
parent | 3c78e0569ca04f4c92f0adcd74471398bb7b2e55 (diff) | |
download | postgresql-2f86ab305e7fbc7b84960079551cf9cafd29684f.tar.gz |
Fix small error in COPY FROM progress reporting.
The # of bytes processed was accumulated slightly incorrectly. After
loading more data to the input buffer, we added the number of bytes in
the buffer to the sum. But in case of multi-byte characters or escapes,
there can be a few unprocessed bytes left over from previous load in the
buffer. Those bytes got counted twice.
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions