如何更改PostgreSQL用户的密码?
For password less login:
(对于少密码登录:)
sudo -u user_name psql db_name
To reset the password if you have forgotten:
(要忘记密码,请重设密码:)
ALTER USER user_name WITH PASSWORD 'new_password';
2.1m questions
2.1m answers
60 comments
56.8k users