Thank you for reply! I have new a patch in commitfest:Format the code in xact_decode (postgresql.org)
--Regards,ChangAo Chen