On Thu, Mar 30, 2017 at 1:55 PM, Ashutosh Sharma <ashu.coe...@gmail.com> wrote: > > RCA: > ==== > After debugging the hash index code for deletion, I could find that > while registering data for xlog record 'XLOG_HASH_UPDATE_META_PAGE' we > are not passing the correct length of data being registered and > therefore, data (xl_hash_update_meta_page) is not completely recorded > into the wal record. > > Fix: > === > Attached patch fixes this issue. >
The fix looks good to me. I have scanned the hash index code to see if there is any other similar problem, but couldn't find any. -- With Regards, Amit Kapila. EnterpriseDB: http://www.enterprisedb.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers