Re: pgsql: Use data directory inode number, not port, to select SysV resour

From: Noah Misch <noah(at)leadboat(dot)com>
To: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pgsql: Use data directory inode number, not port, to select SysV resour
Date: 2019-09-13 06:20:28
Message-ID: 20190913062028.GA3458481@rfd.leadboat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

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.)

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2019-09-13 09:18:37 pgsql: Add tab completion for CREATE OR REPLACE in psql.
Previous Message Peter Geoghegan 2019-09-12 22:45:23 pgsql: Fix nbtree page split rmgr desc routine.

Browse pgsql-hackers by date

  From Date Subject
Next Message Святослав Ермилин 2019-09-13 06:41:11 Re: Close stdout and stderr in syslogger
Previous Message Michael Paquier 2019-09-13 05:12:22 Re: [HACKERS] [PATCH] pageinspect function to decode infomasks