comments in hash_alloc_buckets

From: Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: comments in hash_alloc_buckets
Date: 2017-03-21 04:41:15
Views: Raw Message | Whole Thread | Download mbox
Lists: pgsql-hackers


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.
_hash_pageinit(page, BLCKSZ);

Attached is the patch that corrects above comment. Thanks.

[1] -

With Regards,
Ashutosh Sharma

Attachment Content-Type Size
corrected_comments_hash_alloc_buckets.patch application/x-download 565 bytes


Browse pgsql-hackers by date

  From Date Subject
Next Message Ashutosh Sharma 2017-03-21 04:45:14 Re: pageinspect and hash indexes
Previous Message vinayak 2017-03-21 04:41:07 Re: ANALYZE command progress checker