Re: buildfarm vs code

From: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: buildfarm vs code
Date: 2018-06-06 13:41:27
Message-ID: 23a7c0c2-7950-08d8-59bc-9b673bb970d6@2ndQuadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 06/06/2018 09:16 AM, Amit Kapila wrote:
>
> > The second change the recipe makes is to disable the tablespace
> tests. On
> > Windows, when running as the Administrator, the application gives up
> > privilege to such an extent that the tablespace tests fail.
>
> Ohh.  I was confused about why Windows was giving us fewer privileges
> when we had a more privileged account, but in fact *we* did that.
> Where does the privilege-giving-up happen?
>
>
> It happens during startup, see CreateRestrictedProcess in
> src/bin/pg_ctl/pg_ctl.c.
>
>

Yeah, what seems quite odd, though, is that when run as an unprivileged
use the tablespace test runs just fine, but when run as a privileged
user it fails. If that's fixable we should fix it :-)

cheers

andrew

--
Andrew Dunstan https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2018-06-06 13:52:52 Re: POC: GROUP BY optimization
Previous Message Amit Kapila 2018-06-06 13:33:47 Re: [HACKERS] Moving relation extension locks out of heavyweight lock manager