Tom Lane writes:
That will help not at all, if the problem is too-short transactions as it sounds to be.
How about commit_delay?
You really need to pester the authors of bacula to try to wrap multiple inserts per transaction.
Like any volunteer project I am sure it's more an issue of resources than an issue of interest.