Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i8f2a-0003ym-0Z for pgsql-hackers@arkaria.postgresql.org; Fri, 13 Sep 2019 06:26:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i8f2Y-00059c-U9 for pgsql-hackers@arkaria.postgresql.org; Fri, 13 Sep 2019 06:26:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i8f2Y-00059R-Kj for pgsql-hackers@lists.postgresql.org; Fri, 13 Sep 2019 06:26:42 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i8f2W-0006jM-Dg for pgsql-hackers@postgresql.org; Fri, 13 Sep 2019 06:26:42 +0000 Received: by mail-pf1-x444.google.com with SMTP id w22so17444581pfi.9 for ; Thu, 12 Sep 2019 23:26:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=+1OQI61tdi4bDoWrUFmLbdE6zke6+2dHwNArmTzilgw=; b=NE5Uatcuk7Ima//1a3H37gqihLpC6RtU4aw8w7LHlJCDRcF4v9P/4lNrKdj8ZkzaDW kxYKNHstrVaS1NUqSMNxtI/aOTd6gdafSdrO/UX01uChBhhxTbxx/eR+lsl6RX8iaZa2 InbJLv83+dG7dtXZFU8EueCAE0jT+Bd12xOtA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=+1OQI61tdi4bDoWrUFmLbdE6zke6+2dHwNArmTzilgw=; b=hmqc5TY92PD7pV2HU3Rp5YddA8p5z7Ge8ypHP89yinog6N28aAuhHh47B3e/qllDTf 1g8jCFC0GSg5pIpUp2Dy22rn2qSqBiWKb0WEdHZdm0TNplxJJKUCh6DY0KeTnixCOIcl Ku3TfknBQFBBEM0kGT3/GL5DDQxdf1Ir/3sh1fPO2nWVotk9ZiXsGUEtWIE3fk8dww8V fW6Yx+FQAG7c1v1VJAt2LsG301zIRA9DXpgAhGFD13q57aeLfrJ8tkwNwdygUa5EeMgo nQfh/4iyIBEk1h7sAvJmOPfze+DYf6o6PAeLk9wVyRb/vhww99M5lGpwU6ZYBbj8gT60 Bshg== X-Gm-Message-State: APjAAAUFt5IsqF0bx+Pkjy3mPeN4muSMkXZsKdTimfYbKzQlAepVaQWq 1EmbNa8xckvxY/Eegx76k+iUZQ== X-Google-Smtp-Source: APXvYqx60on+XPdGdQQCgF28pGyMs75zMAk9FuBEmodoTDspm714I/VaJSp1S9QBvPsxu8u76Q59xg== X-Received: by 2002:aa7:8edd:: with SMTP id b29mr54071561pfr.138.1568355631190; Thu, 12 Sep 2019 23:20:31 -0700 (PDT) Received: from rfd.leadboat.com (108-233-125-46.lightspeed.sntcca.sbcglobal.net. [108.233.125.46]) by smtp.gmail.com with ESMTPSA id t125sm40359857pfc.80.2019.09.12.23.20.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Sep 2019 23:20:30 -0700 (PDT) Date: Fri, 13 Sep 2019 06:20:28 +0000 From: Noah Misch To: Andrew Dunstan Cc: Tom Lane , PostgreSQL-development Subject: Re: pgsql: Use data directory inode number, not port, to select SysV resour Message-ID: <20190913062028.GA3458481@rfd.leadboat.com> References: <176e86ba-1a46-9d8c-5ae4-9865a463b411@2ndQuadrant.com> <19250.1567784113@sss.pgh.pa.us> <14e3c613-6e3c-4908-4873-49898b53100d@2ndQuadrant.com> <6922.1567795326@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Sun, Sep 08, 2019 at 05:54:12PM -0400, Andrew Dunstan wrote: > I'm going to disable this test (src/test/recovery/t/017_shm.pl) on > Windows on the back branches too unless there's a violent objection. The > reason is that the script runs "postgres --single" and that fails on > Windows when run by an administrative account. We've carefully enabled > postgres and its tests to run safely under an admin account. I > discovered this as part of my myss2 testing. I'm reading that the test falsified this assertion that we've enabled postgres to run safely under an admin account. Enabling safe use of admin accounts entails fixing single-user mode. (Alternately, one could replace the "vacuum that database in single-user mode" errhint with a reference to some not-yet-built alternative. That sounds harder.)