pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: john.reilly@tetraireland.ie
To: pgsql-bugs@postgresql.org
Subject: BUG #12461: Incorrect PSQL User Login in Windows
Date: Thu, 08 Jan 2015 14:10:57 +0000
Message-ID: <20150108141057.11501.47797@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      12461
Logged by:          John Reilly
Email address:      john.reilly@tetraireland.ie
PostgreSQL version: 9.4.0
Operating system:   Windows 7
Description:        

I did a complete installation from the internet 2 days ago.  I first used
pgAdminIII to administer the DB and try out features.  I then looked at the
tutorial on this site and found that I needed to use PSQL.  Once I tried to
start it, I found that I was being rejected because of invalid Password. 
Eventually I realised that the PSQL default USER that was being rejected was
my computer User Name and NOT the ONLY registered user in PostgreSQL (user -
postgres).  The documentation is confusing in this area as changes have been
made recently.

I then used the '-U postgres' option and all went OK.  This is VERY
confusing and needs to be better documented or simplified.

I now can log in without using a password, because that is the way it was
set up in pgAdminIII which may be unintentional (use of the pgpass.conf file
is shared) - for information only.


PS - don't forget pgAdminIII is now included in the PostgreSQL installer, so
that people may go there first for ease of use initially.



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



Message-ID: <20150108141057.11501.47797@wrigleys.postgresql.org>
Permalink:  ../20150108141057.11501.47797@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20150108141057.11501.47797@wrigleys.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: john.reilly@tetraireland.ie
  Subject: Re: BUG #12461: Incorrect PSQL User Login in Windows
  In-Reply-To: <20150108141057.11501.47797@wrigleys.postgresql.org>
  References: <20150108141057.11501.47797@wrigleys.postgresql.org>

* 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