Add d_type to our Windows dirent emulation. This allows us to skip some stat calls, by extending commit 861c6e7c to cover Windows systems.
Author: Juan José SantamarÃa Flecha <[email protected]> Reviewed-by: Alvaro Herrera <[email protected]> Reviewed-by: Andres Freund <[email protected]> Reviewed-by: Magnus Hagander <[email protected]> Reviewed-by: Thomas Munro <[email protected]> Discussion: https://postgr.es/m/CA%2BhUKG%2BFzxupGGN4GpUdbzZN%2Btn6FQPHo8w0Q%2BAPH5Wz8RG%2Bww%40mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/87e6ed7c8c6abb6dd62119259d2fd89169a04ac0 Modified Files -------------- src/include/port/win32_msvc/dirent.h | 11 +++++++++++ src/port/dirent.c | 10 ++++++++++ 2 files changed, 21 insertions(+)
