On 6/22/17 4:36 PM, Adrian Klaver wrote:
> On 06/22/2017 01:16 PM, Ray Stell wrote:
>> On 6/22/17 4:07 PM, Adrian Klaver wrote:
>>
>>> On 06/22/2017 12:06 PM, Ray Stell wrote:
>>>> I used "initdb -U" to specify an alternate superuser. On startup it
>>>
>>> Can you show your complete initdb command?
>>>
>>>> throws these msgs:
>>>>
>>>> 2017-06-22 14:36:34 EDT,0,startup FATAL: 28000: role "postgresql"
>>>> does not exist
>>>>
>>>> 2017-06-22 14:36:34 EDT,0,startup LOCATION:
>>>> InitializeSessionUserId, miscinit.c:503
>>
>> initdb -D /apps/pgsql/workspace/database/test -U newsuperuser
>
> So per Jeff's comments, how are you starting the Postgres instance?
>
pg_ctl start -D ...
I added -W to the initdb, but the startup has same msg. same. As I
said, the postmaster starts. I just thought the msgs might not be desired.