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

From David Rowley
Subject Re: Compilation issues for HASH_STATISTICS and HASH_DEBUG options
Date
Msg-id CAApHDvqacF5MppvWLzRQPbjCYedo3x=JmsoZU2vLFTFR1weoHw@mail.gmail.com
Whole thread Raw
In response to Re: Compilation issues for HASH_STATISTICS and HASH_DEBUG options  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On Fri, 15 Aug 2025 at 19:09, Michael Paquier <michael@paquier.xyz> wrote:
>
> On Fri, Aug 15, 2025 at 06:37:44PM +1200, David Rowley wrote:
> > 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.

Yeah. Just to aid discussion, let's say the attached patch.

I don't really have an idea on which debug level these should appear
on, however. I picked DEBUG4 for no other reason than DEBUG5 being
quite verbose with AIO related messages.

David

Attachment

pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Increase OpenBSD CI task's RAM disk size
Next
From: SATYANARAYANA NARLAPURAM
Date:
Subject: Re: Add CHECK_FOR_INTERRUPTS in pg_buffercache_pages while scanning the buffers