I have installed postgreSQL and I have made a password for Postgres 'admin'. I can log in with the postgres and password as long as its in the local host, as soon as I change the host form localhost to an IP it doesn't accept the password, we have another user that I can use but since its not a superuser I cant modify or make procedures is pgAdmin.
So the question is: Can I somehow reset the password for the postgres, I have tried to modify pg_hpa.config
host all all 127.0.0.1/32 trust # IPv6 local connections: host all all ::1/128 trust
but that did me no good, so any suggestions of how to reset, or add a password (I also tried this on: ALTER USER postgres VALID UNTIL 'infinity';) or change is would be appreciated.