git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 3c78e05) | patch
Fix small error in COPY FROM progress reporting.
Thu, 4 Feb 2021 15:40:33 +0000 (17:40 +0200)
Thu, 4 Feb 2021 15:40:33 +0000 (17:40 +0200)
commit 2f86ab305e7fbc7b84960079551cf9cafd29684f
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.
src/backend/commands/copyfromparse.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /