At first you can run postgres by either switching to the postgres user and running psql (1) or directly running psql as that user (2)
1. sudo -i -u postgres; psql
2. sudo -u postgres psql
We use cookies to understand our websites traffic and offer our website visitors personalized experience. To find out more, click ‘More Information’. In addition, please, read our
Privacy policy.