On Tue, Nov 24, 2020 at 12:57 AM Holger Jakobs <holger@xxxxxxxxxx> wrote:
What is the point of COMMITting after a few records? Why not let the whole batch run through. If there are any errors, PostgreSQL will rollback the whole transaction anyway.
Avoiding that behavior is the point of batching with periodic commits.
David J.