Re: File truncation within PostgresNode::issues_sql_like() wrong on Windows
Andrew Dunstan <andrew@dunslane.net>
From: Andrew Dunstan <andrew@dunslane.net>
To: Michael Paquier <michael@paquier.xyz>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-04-15T11:16:05Z
Lists: pgsql-hackers
On 4/15/21 12:57 AM, Michael Paquier wrote: > On Wed, Apr 14, 2021 at 09:26:19PM -0400, Andrew Dunstan wrote: >> Well, let me try it on fairywren tomorrow. Since we manage this on the >> buildfarm without any use at all of Win32API::File it might not be >> necessary in TAP code either, particularly if we're not truncating the file. > Thanks. If that proves to not be necessary, +1 to remove this code. > I have been playing with this stuff, and the attached patch seems to > work properly on Windows. On top of that, I have also tested the > non-Win32 path on an MSVC box to see that it was working, but my > environment is not really noisy usually with such compatibility > issues. Reviewing the history, I don't want to undo 114541d58e5. So I'm trying your patch. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com
Commits
-
Replace magic constants for seek() calls in perl scripts
- c731f9187b5f 14.0 landed
-
Allow TestLib::slurp_file to skip contents, and use as needed
- d48212c45202 9.6.22 landed
- f8ba416a98ce 10.17 landed
- 4c9298130ae8 11.12 landed
- d380ec9891db 12.7 landed
- e480c6dd33f4 13.3 landed
- 3c5b0685b921 14.0 landed