To be clear, it's not a custom patch to pg itself, but an application-side buffering and batching optimization.