Fastpath while arranging the changes in LSN order in logical decoding

From: Dilip Kumar <dilipbalaut(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Fastpath while arranging the changes in LSN order in logical decoding
Date: 2019-11-25 03:52:49
Message-ID: CAFiTN-tXppcVqZYU=Kz1efzJnD06GvpG6paCMXHJO2jkXQZPAg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
0001-Fastpath-for-sending-changes-to-output-plugin-in-log.patch application/octet-stream 5.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Dilger 2019-11-25 04:18:38 Re: Safeguards against incorrect fd flags for fsync()
Previous Message Michael Paquier 2019-11-25 03:30:48 Re: Attempt to consolidate reading of XLOG page