Re: What packages I need to install to get Postgres working - Mailing list pgsql-general

From Sam Mason
Subject Re: What packages I need to install to get Postgres working
Date
Msg-id 20091207120812.GO5407@samason.me.uk
Whole thread Raw
In response to Re: What packages I need to install to get Postgres working  (John R Pierce <pierce@hogranch.com>)
List pgsql-general
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/

pgsql-general by date:

Previous
From: Sam Mason
Date:
Subject: Re: Array comparison & prefix search
Next
From: Joana Camacho
Date:
Subject: Error_startup postgresql server