Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y9K6u-0004Ki-8t for pgsql-bugs@arkaria.postgresql.org; Thu, 08 Jan 2015 20:55:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y9K6t-0008L8-Kf for pgsql-bugs@arkaria.postgresql.org; Thu, 08 Jan 2015 20:55:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y9Dnt-0007YH-AP for pgsql-bugs@postgresql.org; Thu, 08 Jan 2015 14:11:13 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y9Dnk-0005Ug-SY for pgsql-bugs@postgresql.org; Thu, 08 Jan 2015 14:11:11 +0000 MIME-Version: 1.0 Subject: BUG #12461: Incorrect PSQL User Login in Windows To: pgsql-bugs@postgresql.org From: john.reilly@tetraireland.ie Date: Thu, 08 Jan 2015 14:10:57 +0000 Message-ID: <20150108141057.11501.47797@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.9 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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