How do I log into PostgreSQL on Ubuntu?
Answer
The installation procedure created a user account called postgres that is associated with the default Postgres role. In order to use Postgres, we can log into that account. Switch over to the postgres account on your server by typing:
sudo -i -u postgres.
Answer
The installation procedure created a user account called postgres that is associated with the default Postgres role. In order to use Postgres, we can log into that account. Switch over to the postgres account on your server by typing:
sudo -i -u postgres.