On 09/11/2010 01:39 AM, Arjen Nienhuis wrote:
    su - postgres
    psql -l

If you didn't set a password for the postgres user it's actually:

sudo su - postgres

Better written, and less prone to being broken by odd shell setups, as:

  sudo -u postgres psql

--
Craig Ringer

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to