On Sat, Feb 5, 2011 at 5:04 PM, Cédric Villemain <cedric.villemain.deb...@gmail.com> wrote: > Robert, I am unsure with the hint_bit_write_allowance counter. It > looks a bit fragile because > nothing prevent hint_bit_write_allowance counter to increase a lot, > so that is not 100 but X*100 next hint bit will be written. Isn't it ?
hint_bit_write_allowance can never be more than 100. The only things we ever do are set it to exactly 100, and decrease it by 1 if it's positive. > Also, won't buffer_allocation_count hit INT limit ? Sure, if the backend sticks around long enough, but it's no big deal if it overflows. -- 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