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 1hpdnd-0003U5-7y for pgsql-hackers@arkaria.postgresql.org; Mon, 22 Jul 2019 19:16:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hpdnc-00056D-3v for pgsql-hackers@arkaria.postgresql.org; Mon, 22 Jul 2019 19:16:40 +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 1hpdnb-000565-Lw for pgsql-hackers@lists.postgresql.org; Mon, 22 Jul 2019 19:16:39 +0000 Received: from mail-oi1-x22d.google.com ([2607:f8b0:4864:20::22d]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hpdnY-000335-Hd for pgsql-hackers@lists.postgresql.org; Mon, 22 Jul 2019 19:16:39 +0000 Received: by mail-oi1-x22d.google.com with SMTP id m206so30419865oib.12 for ; Mon, 22 Jul 2019 12:16:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=9xSY1Gb3F0ZFhx+2O+4YOdO9BV5/VsAU/KBdliq/KtA=; b=HuX28p8+Qxag0wtM8/57Nv8AdlNbmFQOecFHr70Co2Zoh3p5POaEVIXvBhinfQozT0 JuOUf3xNUDz7D5PU8jxFVsrgREbs+R4ATqQ7G2CJUPGurN788/wcQqhXiFppmyphL29R Rva69QJw09J1XPETPJHKNtp5Hp3XMqXxFEdZbrKsVMyc9f5xUM3zIIDn+WUf7D9t7nXs cGVsr4A95cTmABGz+0cfGBzwiYvugIEcuSAuK12mcMz66RyMMJ40qcoCUYQGhl6x3/Sg 1TQMdsIfpKeQ+Eol4THE4mykYRIbFpn9OtWOPWVCj4GLEqITkah6G25HBEHl+p/gt5Es +qHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding:content-language; bh=9xSY1Gb3F0ZFhx+2O+4YOdO9BV5/VsAU/KBdliq/KtA=; b=Q7FzQ6dvmnWkryRB+J3l1vPC74lJVLRBtU6DrGTxxyM5KiEJJZrcjzkiXEPX7t2QC6 1R2/DO6a/95whXdmW20cZRT6R49YMZnPAd/D7hCYtmYt/N2XhHHjD3ZuIyOAO7IZvb8M sPgJZ2epqSH5f9ZdcCsjpUsOckjawHNbWDZ5m6E8CvUHV7YTcULEYWBimBdWaC3c9OTt ZIuKLxhgwmpBaVPsCWC075nS22XjGAJCH7bjxfySceLvkI+kFDiipsDjYZDznv4J1a3c ixDlDXNhHRbavMiiWtcPOuN3DJu72n0+uTdlQGnox0oqjMJuh4czXSQz9Ch9vn5Gj6Eh cyCg== X-Gm-Message-State: APjAAAUI1tMiQTgwImqa5j3AdXdsLorNc3w29ciXBxkCq9/qeyCMG37w T0tUKxL1l3SfZ99RsRXiwyEvO13C/CU6znhX2mZe9NJmwvM5/HWJbBXpVlITBVZaMcrcEBk8K7d GX6jZK2ew72YYA9L9AuViRoobmCADqc4aH9816t83FyxzH6kMwdZ1s0hORx4spIcsGlVbcqsMmd h0qOm8KVyOhuduUxJI0ebrryk= X-Google-Smtp-Source: APXvYqy7PAAnEWOALyUhiGxoBmMYyiF0AyyfpNsDZpka1e+gwioDjjQ84XIgbS0dgilYKlI2lCUS2w== X-Received: by 2002:aca:ba02:: with SMTP id k2mr31728508oif.70.1563822994043; Mon, 22 Jul 2019 12:16:34 -0700 (PDT) Received: from [192.168.10.146] (99-10-92-30.lightspeed.rlghnc.sbcglobal.net. [99.10.92.30]) by smtp.gmail.com with ESMTPSA id p9sm12409405oti.20.2019.07.22.12.16.33 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Mon, 22 Jul 2019 12:16:33 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: initdb recommendations To: Tom Lane , Peter Eisentraut Cc: pgsql-hackers@lists.postgresql.org References: <20190406180839.GA1921989@rfd.leadboat.com> <96389374-9454-d26d-6f79-7c7b15ec14bd@2ndquadrant.com> <91f8272f-117f-2a04-862b-871a7b86eeed@2ndquadrant.com> <7b6c4220-e5ef-2a13-18ad-af596c52b71a@2ndquadrant.com> <23654.1563804669@sss.pgh.pa.us> <7886.1563812705@sss.pgh.pa.us> <27724.1563813541@sss.pgh.pa.us> Openpgp: preference=signencrypt Autocrypt: addr=andrew.dunstan@2ndQuadrant.com; prefer-encrypt=mutual; keydata= xsBNBE7KWFkBCAClridxur2AIc7eW2AR7izbfp3EnNefie2HbLF0izW5Ik5UjX2HBXBx4syI gY6b0ugohXrr274+baoAlvSbq6cAoQuEVrk5IZFzt20b1Xkx65FwGSEj526yiKLocqkJceSq Xr9xcA5SGY+FZv441chh5SU92v4q6z+6LPpoHOh97ptAVXZYNTtU0LevyvD5lja0TzbvJm6C eFXitJfnm1pLEr0DGJCR/iUOl/N62Kh4855zZC7NHIjQHPOvV5Stz/l5ilDhvGVk+xkXFPys SjZoUr1rXhYLpiyi5sR0X9FHXT0KnGuz1F5ERO7ZTLSSQ6fJwPj6gOk9K+vvoKvoeql5ABEB AAHNL0FuZHJldyBEdW5zdGFuIDxhbmRyZXcuZHVuc3RhbkAybmRRdWFkcmFudC5jb20+wsCY BBMBAgBCAhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAUJDyV6hBYhBOQ+WEYd/Hy/RGkV pZn6f8tZ/DuBBQJcH/EVAhkBAA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DbXPcnFsur1Oo9mIHFakgWgOBMuxoWfjONiLjjLh/9+ZIqSSLX Message-ID: Date: Mon, 22 Jul 2019 15:16:32 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <27724.1563813541@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-MW List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 7/22/19 12:39 PM, Tom Lane wrote: > I wrote: >> I'm afraid we're going to have to revert this, at least till >> such time as a fixed buildfarm client is in universal use. >> As for the nature of that fix, I don't quite understand why >> the forced -U is there --- maybe we could just remove it? >> But there are multiple places in the buildfarm client that >> have hard-wired references to "buildfarm". > BTW, it looks like the Windows buildfarm critters have a > separate problem: they're failing with > > initdb: error: must specify a password for the superuser to enable md5 authentication > > One would imagine that even if we'd given a password to initdb, > subsequent connection attempts would fail for lack of a password. > There might not be any practical fix except forcing trust auth > for the Windows critters. > > Yeah. Modulo this issue, experimentation shows that adding '-A trust' to the line in run_build.pl where initdb is called fixes the issue. If we're going to rely on a buildfarm client fix that one seems simplest. there are a couple of not very widely used modules that need similar treatment - TestSepgsql and TesUpgradeXVersion cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services