error on connecting port 5432

From: Atul Kumar <akumar14871(at)gmail(dot)com>
To: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: error on connecting port 5432
Date: 2020-12-01 08:51:12
Message-ID: CA+ONtZ5tGvDy+UJdiW=ZiWOLW9aJo9-hK1b6SHjGwr1r5sGUkg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

When I m creating a test db user using below command using root OS user
sudo -u postgres createuser -p 5432 --pwprompt testuser

I am getting the attached error of port.

But my postgres services are running fine on port 5432, I am sharing
the screenshot of that also.

So please help me in letting me know why I am getting the above error
when I am connected to the root OS user?

Note - I am able to create a test db user when I am connected to
postgres using psql command.

Regards,
Atul

Attachment Content-Type Size
image/png 11.3 KB
image/png 10.1 KB

Responses

Browse pgsql-general by date

  From Date Subject
Next Message mobigroup 2020-12-01 10:34:28 Re: PostgreSQL 12.4 Parallel Query doesn't work while EXPLAIN is OK
Previous Message Laurenz Albe 2020-12-01 08:35:02 Re: PostgreSQL 12.4 Parallel Query doesn't work while EXPLAIN is OK