Re: running postgres

From: Sam Mason <sam(at)samason(dot)me(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: running postgres
Date: 2009-02-05 11:51:17
Message-ID: 20090205115117.GB3008@frubble.xen.chris-lamb.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Grzegorz Jaśkiewicz 2009-02-05 12:09:53 Re: Pet Peeves?
Previous Message Simon Riggs 2009-02-05 11:46:52 Re: Pet Peeves?