Re: BUG #15858: could not stat file - over 4GB

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Juan José Santamaría Flecha <juanjo(dot)santamaria(at)gmail(dot)com>, Emil Iggland <emil(at)iggland(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #15858: could not stat file - over 4GB
Date: 2020-10-12 03:27:18
Message-ID: 3062457.1602473238@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Michael Paquier <michael(at)paquier(dot)xyz> writes:
> Why are we forcing errno=ENOENT here? Wouldn't it be correct to use
> _dosmaperr(GetLastError()) to get the correct errno?

Fair question. Juan, was there some good reason not to look at
GetLastError() in this step?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Jean Prulière 2020-10-12 10:05:06 Identity column behavior discrepancies when inserting one or many rows
Previous Message Michael Paquier 2020-10-12 01:01:08 Re: BUG #15858: could not stat file - over 4GB

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2020-10-12 03:31:42 Re: Parallel INSERT (INTO ... SELECT ...)
Previous Message Thomas Munro 2020-10-12 03:10:43 Re: Parallel INSERT (INTO ... SELECT ...)