From: | David Steele <david(at)pgmasters(dot)net> |
---|---|
To: | Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com> |
Cc: | Pg Hackers <pgsql-hackers(at)postgresql(dot)org>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
Subject: | Re: PATCH: Unlogged tables re-initialization tests |
Date: | 2018-03-01 18:12:19 |
Message-ID: | a103b802-30cb-572a-cfad-65f0eb642eaf@pgmasters.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi Thomas,
[Also pulling in Michael for Windows knowledge]
On 3/1/18 12:27 AM, Thomas Munro wrote:
> On Thu, Mar 1, 2018 at 9:24 AM, David Steele <david(at)pgmasters(dot)net> wrote:
>> These tests were originally included in the exclude unlogged tables
>> patch [1] to provide coverage for the refactoring of reinit.c.
>
> +# The following tests test symlinks. Windows doesn't have symlinks, so
> +# skip on Windows.
>
> Could you please explain this a bit more? I don't see any symlinks
> being used directly in this test. I do see CREATE TABLESPACE and that
> uses symlink(), but win32_port.h converts that to "junctions",
> apparently the Windows equivalent. Is there some reason that doesn't
> work with this test?
I copied this pattern from src/bin/pg_basebackup/t/010_pg_basebackup.pl
which indicates that Windows will not support these types of tests.
But your point is well-taken. No symlinks are used in this test so it
*should* work.
Michael, what do you think?
> If, by any chance, you are talking about whatever dark force prevents
> the "tablespace" regression test from succeeding when run as a user
> with administrative privileges on Windows, then I would *love* to hear
> an explanation for that phenomenon and how to fix it, because it
> currently prevents me from automatically testing all Commitfest
> patches on the appveyor.com Windows build farm. I know that it passes
> as a non-administrative user.
Sorry, no!
--
-David
david(at)pgmasters(dot)net
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2018-03-01 18:13:40 | Re: [PATCH] Find additional connection service files in pg_service.conf.d directory |
Previous Message | Andres Freund | 2018-03-01 18:06:22 | Re: pgbench - add \if support |