On Sun, Dec 06, 2009 at 02:21:09PM -0800, John R Pierce wrote: > yourusername $ sudo su - postgres > postgres $ psql Somebody pointed out to me on this list that you don't need su for that. The following is equivalent: sudo -u postgres psql Also, because it's all one line it plays nicely when running from history. -- Sam http://samason.me.uk/ -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general