I tried re-setting the postgres db user password, but it did not helped.
Could you please let me know do I need to put the entries in this file for “testusr” and bounce the server back?
Thanks..
From: Shreeyansh Dba <shreeyansh2014@gmail.com> Sent: Thursday, March 21, 2019 1:07 PM To: Bhattacharjee, Soumik <soumik.bhattacharjee@kpn.com> Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org> Subject: Re: pg_dump Error in Windows
To perform any backup requires DB level superuser reset postgres db user password then try . Also make sure user entry in pg_hba.file if you are using authentication method to md5.
When I am trying to take backup using pg_dump.exe , it’s asking for password, when I provide the default password of “postgres” it never accepts and throws below error-
pg_dump: [archiver (db)] connection to database "test_database" failed: FATAL: Ident authentication failed for user "testusr"
Is there any changes I need to do in pg_hba.conf file?