pgsql: Add d_type to our Windows dirent emulation.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add d_type to our Windows dirent emulation.
Date: 2020-09-07 11:40:17
Message-ID: E1kFFVR-00017M-Po@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)santamaria(at)gmail(dot)com>
Reviewed-by: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Reviewed-by: Andres Freund <andres(at)anarazel(dot)de>
Reviewed-by: Magnus Hagander <magnus(at)hagander(dot)net>
Reviewed-by: Thomas Munro <thomas(dot)munro(at)gmail(dot)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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2020-09-07 14:29:35 Re: pgsql: Refactor pg_get_line() to expose an alternative StringInfo-based
Previous Message Peter Eisentraut 2020-09-07 08:02:28 pgsql: doc: Fix table cell overflow