Re: initdb recommendations - Mailing list pgsql-hackers

From Tom Lane
Subject Re: initdb recommendations
Date
Msg-id 7886.1563812705@sss.pgh.pa.us
Whole thread Raw
In response to Re: initdb recommendations  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: initdb recommendations  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: initdb recommendations  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
List pgsql-hackers
I wrote:
> Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
>> Pushed with that note.  Thanks.

> This has completely broken the buildfarm.

On inspection, it seems the reason for that is that the buildfarm
script runs initdb with '-U buildfarm', so that peer-auth connections
will only work if the buildfarm is being run by an OS user named
exactly "buildfarm".  That happens to be true on my macOS animals,
which is why they're not broken ... but apparently, nobody else
does it that way.

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

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: Memory Accounting
Next
From: Jeff Davis
Date:
Subject: Re: Memory Accounting