On Mon, Aug 3, 2020 at 12:13 PM Ashutosh Sharma <ashu.coe...@gmail.com> wrote: > If the above path is taken that means none of the items in the page > got changed.
Oops. I didn't realize that, sorry. Maybe it would be a little more clear if instead of "int nSkippedItems" you had "bool did_modify_page"? Then you could initialize it to false and set it to true just before doing the page modifications. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company