Cara Memeriksa Nama Pengguna dan Kata Sandi Database di PostgreSQL
sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';"
PeeBee!
sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';"
SELECT current_user,
user,
session_user,
current_database(),
current_catalog,
version();