Re: Streaming replication issue

Luca Ferrari <[email protected]>
Newsgroups gmane.comp.db.postgresql.admin
Message-ID <CAKoxK+6BMswm0oayBzHWUuDzkG+M0zR3HfOi1NEu+X9j-pQnBg@mail.gmail.com>
On Thu, Sep 5, 2019 at 2:45 PM mallikarjun t <[email protected]> wrote:
> I want connect to sever by using following command  /opt/edb/as9.6/bin/psql
>
>
> role "postgres" not a log in permission error message  I am getting , I am try to put port number along with that
> error: could not connect to the server, locally running this port number 5432.
>

I'm sorry but it is quite hard to understand what you are doing.
If I'm getting right, from you description, you are replicating your
server and trying to connect as 'postgres' to such clone, but how can
the clone has a user that did not existed (or did not have
permissions) on the original server too?
I thinm you should connect to the "new master" with the same "old
master" credentials.

Luca
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.