pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add d_type to our Windows dirent emulation.
Date: Mon, 07 Sep 2020 11:40:17 +0000
Message-ID: <E1kFFVR-00017M-Po@gemulon.postgresql.org> (raw)

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



Message-ID: <E1kFFVR-00017M-Po@gemulon.postgresql.org>
Permalink:  ../E1kFFVR-00017M-Po@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kFFVR-00017M-Po@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tmunro@postgresql.org
  Subject: Re: pgsql: Add d_type to our Windows dirent emulation.
  In-Reply-To: <E1kFFVR-00017M-Po@gemulon.postgresql.org>
  References: <E1kFFVR-00017M-Po@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox