Re: Extend win32 error codes to errno mapping in win32error.c

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-09-29T06:18:48Z
Lists: pgsql-hackers
On Wed, Sep 28, 2022 at 11:14:53AM +0530, Bharath Rupireddy wrote:
> IMO, we can add mapping for just ERROR_INVALID_NAME which is an
> obvious error code and easy to hit, leaving others.

Okidoki.  Applied the minimalistic version, then.
--
Michael

Commits

  1. Map ERROR_INVALID_NAME to ENOENT in mapping table of win32error.c