This is significantly faster than sending queries one by one to a remote
server while preserving the same semantics from the caller point of
view.
This commit is best viewed ignoring whitespace-only changes and with Git
--color-moved option because collect_use_buffers() contains exactly the
same code that was inside execute() before: the only new code here is in
execute_bulk().