Re: role "my_account" does not exist - Mailing list pgsql-general

From Amn Ojee Uw
Subject Re: role "my_account" does not exist
Date
Msg-id 87434ea4-f1c3-9204-1356-73df7aaa7796@gmail.com
Whole thread Raw
In response to role "my_account" does not exist  (Amn Ojee Uw <amnojeeuw@gmail.com>)
List pgsql-general

I came to understand PG a bit better and then understood where I had gone wrong. Thanks folks, but please ignore this email.

My most sincere apologies.

On 8/3/23 8:17 p.m., Amn Ojee Uw wrote:

Hello!

Following this web page, I have tried to create a new role/user, but to no avail.

After typing the following command : createuser --interactive --pwprompt I get the following questions:

Enter name of role to add: company_name
Enter password for new role: xxxxxxx
Enter it again: xxxxxxx
Shall the new role be a superuser? (y/n) y

Than this error is displayed :
createuser: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432"
failed: FATAL:  role "my_debian_login_account_name" does not exist

However, this issue is not really relevant, per se, since I am able to create roles once I log in PostgreSQL-15. Nonetheless, if the service exist, why not usu it. If the services exist and is not working, could it be that there is a problem that will come apparent later on, when unlike now, it would be during a critical moment. Thus the question, what can I do to resolve this issue?
Is there something I am missing?


Thanks


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: role "my_account" does not exist
Next
From: "Zhijie Hou (Fujitsu)"
Date:
Subject: RE: Runaway Initial Table Syncs in Logical Replication?