David Fetter <david@fetter.org> writes:
> Is pg_rewind the only thing that this hits?
pg_dump has forced statement_timeout to 0 for ages. If pg_rewind
is also likely to have a long-running transaction, I don't see any
good reason for it not to do likewise.
regards, tom lane