Re: A micro-optimisation for walkdir() - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: A micro-optimisation for walkdir()
Date
Msg-id 20200904204334.GA19161@alvherre.pgsql
Whole thread Raw
In response to Re: A micro-optimisation for walkdir()  (Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>)
Responses Re: A micro-optimisation for walkdir()
List pgsql-hackers
On 2020-Sep-04, Juan José Santamaría Flecha wrote:

> If will fail to detect that the patch makes the optimisation available for
> WIN32:
> 
> +#if defined(DT_UNKNOWN) && defined(DT_REG) && defined(DT_DIR) &&
> defined(DT_LNK)

Oh, I see.  I suggest that it'd be better to change this line instead.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Questionable ping logic in LogicalRepApplyLoop
Next
From: Cary Huang
Date:
Subject: Re: Any objections to implementing LogicalDecodeMessageCB for pgoutput?