pgsql: Minor cleanup for win32stat.c.

Started by Tom Lanealmost 6 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Minor cleanup for win32stat.c.

Use GetLastError(), rather than assuming that CreateFile() failure
must map to ENOENT. Noted by Michael Paquier.

Discussion: /messages/by-id/CAC+AXB0g44SbvSpC86o_1HWh8TAU2pZrMRW6tJT-dkijotx5Qg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/fcd11329db5bca9993207f099a642a7d1cd59ff8

Modified Files
--------------
src/port/win32stat.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)