Re: No user being created during initdb for OS X

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: No user being created during initdb for OS X
Дата
Msg-id 42DF9ACA.4010804@dunslane.net
обсуждение исходный текст
Ответ на Re: No user being created during initdb for OS X  ("Andrew Dunstan" <andrew@dunslane.net>)
Список pgsql-hackers

Andrew Dunstan wrote:

>>    
>>
>
>2. initdb will only create one user, as specified by -U and defaulting to
>the name of the user running initdb. Thus it will only ever create a user
>called postgres if '-U postgres' is specified, or
>if -U is not used and the user running initdb is called postgres.
>  
>

grammar fixed above so it makes sense



4. if you want to see what user(s) it knows about, shut down the 
postmaster and run postgres in standalone mode like this:
echo 'select usename from pg_user' | /pathto/postgres -D /pathto/data 
template1


cheers

andrew


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Andrew Dunstan"
Дата:
Сообщение: Re: No user being created during initdb for OS X
Следующее
От: "Brusser, Michael"
Дата:
Сообщение: Re: recover corrupted pg_controldata from WAL