BUG #14764: #if HASH_DEBUG source in dynahash.c is fault.
twodragon72@gmail.com
From: twodragon72@gmail.com
To: pgsql-bugs@postgresql.org
Cc: twodragon72@gmail.com
Date: 2017-08-02T03:23:53Z
Lists: pgsql-bugs
The following bug has been logged on the website: Bug reference: 14764 Logged by: Choi Doo-Won Email address: twodragon72@gmail.com PostgreSQL version: 9.6.3 Operating system: CentOS Description: dynahash.c #if HASH_DEBUG fprintf(stderr, "init_htab:\n%s%p\n%s%ld\n%s%ld\n%s%d\n%s%ld\n%s%u\n%s%x\n%s%x\n%s%ld\n%s%ld\n", "TABLE POINTER ", hashp, "DIRECTORY SIZE ", hctl->dsize, "SEGMENT SIZE ", hctl->ssize, "SEGMENT SHIFT ", hctl->sshift, "FILL FACTOR ", hctl->ffactor, "MAX BUCKET ", hctl->max_bucket, "HIGH MASK ", hctl->high_mask, "LOW MASK ", hctl->low_mask, "NSEGS ", hctl->nsegs, "NENTRIES ", hash_get_num_entries(hctl)); #endif ", hash_get_num_entries(hctl)); -> ", hash_get_num_entries(hashp));
Commits
-
Remove broken and useless entry-count printing in HASH_DEBUG code.
- 9d4e56699957 10.0 landed
- cf9da98600f1 9.6.4 landed