Andres Freund <andres(at)2ndquadrant(dot)com> writes:
> How are we supposed to wait while e.g. ProcArrayLock? Aborting
> transactions doesn't work either, that writes abort records which can
> get signficantly large.
Yeah, that's an interesting point ;-). We can't *either* commit or abort
without emitting some WAL, possibly quite a bit of WAL.
regards, tom lane