On Fri, Oct 6, 2017 at 2:12 AM, Dilip Kumar <[email protected]> wrote: >> The performance results look good, but that's a slightly different >> thing from whether the estimate is accurate. >> >> + nbuckets = tbm_calculate_entires(maxbytes); >> >> entires? > > changed to > + tbm->maxentries = (int) tbm_calculate_entires(maxbytes);
My point was not that you should add a cast, but that you wrote "entires" rather than "entries". -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
