On Tue, Dec 27, 2016 at 3:06 AM, Mithun Cy <mithun...@enterprisedb.com> wrote: > Thanks, just like _bt_getroot I am introducing a new function > _hash_getbucketbuf_from_hashkey() which will give the target bucket > buffer for the given hashkey. This will use the cached metapage > contents instead of reading meta page buffer if cached data is valid. > There are 2 places which can use this service 1. _hash_first and 2. > _hash_doinsert.
Can we adapt the ad-hoc caching logic in hashbulkdelete() to work with this new logic? Or at least update the comments? -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers