"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote
>
> Applied with minor corrections --- mostly, being careful to pfree the
> temporary StringInfos so we don't have an indefinite memory leak during
> xlog replay.
>
Right. By the way, your worry about buffer overflow is proved in
xact_desc_commit()/xact_desc_abort().
Regards,
Qingqing