SyntaxFix
Write A Post
Hire A Developer
Questions
Just a note, on Linux You can simply run sudo su - postgres to become the postgres user and from there change what required using psql.
sudo su - postgres