Re: running postgres - Mailing list pgsql-general

From Sam Mason
Subject Re: running postgres
Date
Msg-id 20090205115117.GB3008@frubble.xen.chris-lamb.co.uk
Whole thread Raw
In response to Re: running postgres  (Sebastian Tennant <sebyte@smolny.plus.com>)
List pgsql-general
On Thu, Feb 05, 2009 at 08:12:48AM +0000, Sebastian Tennant wrote:
> This is why you need to type 'sudo su postgres -c psql template1'.

A little shortcut, you can do the above from sudo as:

  sudo -u postgres psql template1

This was pointed out to me by another kind soul on this list, but I
can't, for the life of me, remember who though!  Sorry

--
  Sam  http://samason.me.uk/

pgsql-general by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Pet Peeves?
Next
From: Grzegorz Jaśkiewicz
Date:
Subject: Re: Pet Peeves?