Re: What packages I need to install to get Postgres working

From: Sam Mason <sam(at)samason(dot)me(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: What packages I need to install to get Postgres working
Date: 2009-12-07 12:08:12
Message-ID: 20091207120812.GO5407@samason.me.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Josip Rodin 2009-12-07 13:00:37 freeradius postgresql sql query glitch
Previous Message Sam Mason 2009-12-07 12:01:45 Re: Array comparison & prefix search