pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martin Steer <martinsteer@maxi.net.au>
To: pgsql-novice@postgresql.org
Subject: Re: warning about console code page on starting psql
Date: Fri, 19 Dec 2014 00:35:07 +1100
Message-ID: <20141218133507.GC775@arch> (raw)
In-Reply-To: <549275CC.4010607@gmail.com>
References: <54910242.3090706@gmail.com>
	<549113EA.2010007@gmail.com>
	<1418795707357-5831042.post@n5.nabble.com>
	<CAKFQuwaT55DVMResDFbvscdT5jigTAE5Z+sp6P8Zc8kgXThJCQ@mail.gmail.com>
	<CAKFQuwaCDcUGvoWowWh__J80KR+nS51YBRhNFu8yKPLRsNxnfQ@mail.gmail.com>
	<549275CC.4010607@gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-novice>

On Thu, Dec 18, 2014 at 02:35:56PM +0800, Scott Robertson wrote:

>open psql (in same console) as superuser so operating system user password
>isn't expected: psql -U postgres
>prompt comes up for postgres password

I doubt that you need to connect as superuser. If you have it, see the
manpage for psql, otherwise online, or the postgres docs. There are
various ways of setting permissions.

(On Linux the default postgres user is your user name, i.e. in my case
'martin'. Here 'psql (dbname)' is enough, no password needed.)

M.




-- 
Sent via pgsql-novice mailing list (pgsql-novice@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice



view thread (11+ messages)

Message-ID: <20141218133507.GC775@arch>
Permalink:  ../20141218133507.GC775@arch/
Also on:    postgresql.org/message-id/20141218133507.GC775@arch

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: martinsteer@maxi.net.au, pgsql-novice@postgresql.org
  Subject: Re: warning about console code page on starting psql
  In-Reply-To: <20141218133507.GC775@arch>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox