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 <juanjo.santama...@gmail.com> Reviewed-by: Alvaro Herrera <alvhe...@2ndquadrant.com> Reviewed-by: Andres Freund <and...@anarazel.de> Reviewed-by: Magnus Hagander <mag...@hagander.net> Reviewed-by: Thomas Munro <thomas.mu...@gmail.com> 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(+)