Re: initdb recommendations

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: initdb recommendations
Дата
Msg-id 7886.1563812705@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: initdb recommendations  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: initdb recommendations  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: initdb recommendations  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
Список 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 по дате отправления:

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: Memory Accounting
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: Memory Accounting