an outdated comment for hash_seq_init.
Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
From: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
To: pgsql-hackers@postgresql.org
Date: 2017-04-24T07:55:41Z
Lists: pgsql-hackers
Attachments
- edit_comment_for_hash_seq_init.patch (text/x-patch) patch
Hello. While I looked into dynahash.c, I found that the following sentense became outdated by 5dfc198. The commit removed the only usage of hash_freeze(). > * NOTE: it is possible to use hash_seq_init/hash_seq_search without any > * worry about hash_seq_term cleanup, if the hashtable is first locked against > * further insertions by calling hash_freeze. This is used by nodeAgg.c, > * wherein it is inconvenient to track whether a scan is still open, and > * there's no possibility of further insertions after readout has begun. The attached patch removes the sentence begins with "This is used by..". regards, -- Kyotaro Horiguchi NTT Open Source Software Center
Commits
-
Adjust outdated comment.
- 914ae8d3cbbe 10.0 landed