In logical decoding, while sending the changes to the output plugin we need to arrange them in the LSN order. But, if there is only one transaction which is a very common case then we can avoid building the binary heap. A small patch is attached for the same.
-- Regards, Dilip Kumar EnterpriseDB: http://www.enterprisedb.com
0001-Fastpath-for-sending-changes-to-output-plugin-in-log.patch
Description: Binary data