Fastpath while arranging the changes in LSN order in logical decoding - Mailing list pgsql-hackers

From Dilip Kumar
Subject Fastpath while arranging the changes in LSN order in logical decoding
Date
Msg-id CAFiTN-tXppcVqZYU=Kz1efzJnD06GvpG6paCMXHJO2jkXQZPAg@mail.gmail.com
Whole thread Raw
Responses Re: Fastpath while arranging the changes in LSN order in logical decoding
Re: Fastpath while arranging the changes in LSN order in logicaldecoding
List 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

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Attempt to consolidate reading of XLOG page
Next
From: Mark Dilger
Date:
Subject: Re: Safeguards against incorrect fd flags for fsync()