Re: Understanding, testing and improving our Windows filesystem code

Thomas Munro <thomas.munro@gmail.com>

From: Thomas Munro <thomas.munro@gmail.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Cc: Andres Freund <andres@anarazel.de>
Date: 2022-10-25T04:11:55Z
Lists: pgsql-hackers

Attachments

I pushed the bug fixes from this series, without their accompanying
tests.  Here's a rebase of the test suite, with all those tests now
squashed into the main test patch, and also the
tell-Windows-to-be-more-like-Unix patch.  Registered in the
commitfest.

Commits

  1. Update obsolete multixact.c comments.

  2. Fix unlink() for STATUS_DELETE_PENDING on Windows.

  3. Fix readlink() for non-PostgreSQL junction points on Windows.

  4. Fix stat() for recursive junction points on Windows.

  5. Fix lstat() for broken junction points on Windows.

  6. Fix readlink() return value on Windows.