BUG #14764: #if HASH_DEBUG source in dynahash.c is fault.

From: twodragon72(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Cc: twodragon72(at)gmail(dot)com
Subject: BUG #14764: #if HASH_DEBUG source in dynahash.c is fault.
Date: 2017-08-02 03:23:53
Message-ID: 20170802032353.8424.12274@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 14764
Logged by: Choi Doo-Won
Email address: twodragon72(at)gmail(dot)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));

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Murtuza Zabuawala 2017-08-02 04:59:00 Bug: CREATE COLLATION fails on Windows when used with POSIX
Previous Message Masahiko Sawada 2017-08-02 01:23:24 Re: BUG #14758: Segfault with logical replication on a function index