Have you set up the file pg_hba.conf in the postgres data directory? Maybe the new user is not allowed to connect because of an exclusion there. Boyd
pgsql-novice by date:
Соглашаюсь с условиями обработки персональных данных