[HACKERS] comments in hash_alloc_buckets - Mailing list pgsql-hackers

From Ashutosh Sharma
Subject [HACKERS] comments in hash_alloc_buckets
Date
Msg-id CAE9k0PmUbvQSBY7kwN_OkuqBYyHRXBX-c1ZkuAgR5vgF0GeWzQ@mail.gmail.com
Whole thread Raw
Responses Re: comments in hash_alloc_buckets  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-hackers
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,
     * See _hash_freeovflpage for similar usage.
     */
    _hash_pageinit(page, BLCKSZ);

Attached is the patch that corrects above comment. Thanks.

[1] -
https://www.postgresql.org/message-id/CAMkU%3D1y6NjKmqbJ8wLMhr%3DF74WzcMALYWcVFhEpm7i%3DmV%3DXsOg%40mail.gmail.com

--
With Regards,
Ashutosh Sharma
EnterpriseDB:http://www.enterprisedb.com

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: vinayak
Date:
Subject: Re: [HACKERS] ANALYZE command progress checker
Next
From: Ashutosh Sharma
Date:
Subject: Re: [HACKERS] pageinspect and hash indexes