Re: Compilation issues for HASH_STATISTICS and HASH_DEBUG options - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Compilation issues for HASH_STATISTICS and HASH_DEBUG options
Date
Msg-id aJ7dFcKvaipy7slW@paquier.xyz
Whole thread Raw
In response to Re: Compilation issues for HASH_STATISTICS and HASH_DEBUG options  (David Rowley <dgrowleyml@gmail.com>)
Responses Re: Compilation issues for HASH_STATISTICS and HASH_DEBUG options
List pgsql-hackers
On Fri, Aug 15, 2025 at 06:37:44PM +1200, David Rowley wrote:
> I think the votes to keep it should outweigh the votes to get rid of
> it, as someone voting to keep it probably has some idea that it'll be
> useful to them, and keeping it shouldn't really hinder the people who
> don't want it. I think Michael has voted to keep it.
>
> Michael, any thoughts on switching from stderr to elog(DEBUG)?

You mean to do that for both flags, right?  That would be OK for me.

> And also about defining HASH_DEBUG on one of your BF members?

Sure, I'll do that for both HASH_DEBUG and HASH_STATISTICS if we
decide to keep both and that a fix is applied.  We've proven to be bad
at breaking the two of them.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Chao Li
Date:
Subject: Re: Adding support for Row Compares to nbtree startikey optimization
Next
From: Peter Smith
Date:
Subject: Re: Add support for specifying tables in pg_createsubscriber.