Re: [HACKERS] comments in hash_alloc_buckets

2017-03-26 Thread Robert Haas
On Sat, Mar 25, 2017 at 3:28 AM, Ashutosh Sharma wrote: >>> While working on - [1], I realised that the following comments in >>> _hash_alloc_buckets() needs to be corrected. >>> >>> /* >>> * Initialize the freed overflow page. Just zeroing the page won't >>>

Re: [HACKERS] comments in hash_alloc_buckets

2017-03-25 Thread Ashutosh Sharma
>> While working on - [1], I realised that the following comments in >> _hash_alloc_buckets() needs to be corrected. >> >> /* >> * Initialize the freed overflow page. Just zeroing the page won't work, >> * See _hash_freeovflpage for similar usage. >> */ >>

Re: [HACKERS] comments in hash_alloc_buckets

2017-03-24 Thread Amit Kapila
On Tue, Mar 21, 2017 at 10:11 AM, Ashutosh Sharma wrote: > Hi, > > While working on - [1], I realised that the following comments in > _hash_alloc_buckets() needs to be corrected. > > /* > * Initialize the freed overflow page. Just zeroing the page won't work, >