From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Map ERROR_INVALID_NAME to ENOENT in mapping table of win32error.
Date: Thu, 29 Sep 2022 01:14:59 +0000
Message-ID: <E1odi8h-0004Er-2n@gemulon.postgresql.org> (raw)
Map ERROR_INVALID_NAME to ENOENT in mapping table of win32error.c
This error can be reached when sending an incorrect file name to open()
on Windows, resulting in a confusing errno reported. This has been seen
in the development of a different patch by the same author.
Author: Bharath Rupireddy
Discussion: https://postgr.es/m/CALj2ACWet-b8Juba0DiXwfGCyyOcohzwksahE5ebB9rcbLZKCQ@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/2beae72746e6b762cb335ec4fff87e5407b3096c
Modified Files
--------------
src/port/win32error.c | 3 +++
1 file changed, 3 insertions(+)
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: michael@paquier.xyz
Subject: Re: pgsql: Map ERROR_INVALID_NAME to ENOENT in mapping table of win32error.
In-Reply-To: <E1odi8h-0004Er-2n@gemulon.postgresql.org>
References: <E1odi8h-0004Er-2n@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