Re: [HACKERS] an outdated comment for hash_seq_init.

2017-04-26 Thread Kyotaro HORIGUCHI
At Tue, 25 Apr 2017 11:00:16 -0400, Robert Haas wrote in > On Mon, Apr 24, 2017 at 3:55 AM, Kyotaro HORIGUCHI > wrote: > > 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:

Re: [HACKERS] an outdated comment for hash_seq_init.

2017-04-25 Thread Robert Haas
On Mon, Apr 24, 2017 at 3:55 AM, Kyotaro HORIGUCHI wrote: > 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 >> * worr

[HACKERS] an outdated comment for hash_seq_init.

2017-04-24 Thread Kyotaro HORIGUCHI
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 loc