Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aB0sS-0007TN-Bz for pgsql-bugs@arkaria.postgresql.org; Mon, 21 Dec 2015 13:51:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aB0sR-000336-Lk for pgsql-bugs@arkaria.postgresql.org; Mon, 21 Dec 2015 13:51:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aAtJl-0000Y9-Bx for pgsql-bugs@postgresql.org; Mon, 21 Dec 2015 05:47:33 +0000 Received: from icp-osb-irony-out6.external.iinet.net.au ([203.59.1.106]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aAtJg-0007nS-4i for pgsql-bugs@postgresql.org; Mon, 21 Dec 2015 05:47:31 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2GTAQC2kXdW/1G+Ty0NURkBAQIPAQEBAQYBAQEBhD+MUq54hAuCXYMwAoFpAQEBAQEBBIU7AQEBAQMjVREYBAMBAgoNAQEHBQYCAgkDAgECATcBAwIIEwYCAQGIFQEDqnFxhTGBIxYBAQIBiysBAQEHAQEBAR+GVoR+glOCKCgBBYJOgUkFh1mGVD6IFUKKQIQlhEWDHAyPb4N0gnUdgWNlg2MHgUIBAQE X-IPAS-Result: A2GTAQC2kXdW/1G+Ty0NURkBAQIPAQEBAQYBAQEBhD+MUq54hAuCXYMwAoFpAQEBAQEBBIU7AQEBAQMjVREYBAMBAgoNAQEHBQYCAgkDAgECATcBAwIIEwYCAQGIFQEDqnFxhTGBIxYBAQIBiysBAQEHAQEBAR+GVoR+glOCKCgBBYJOgUkFh1mGVD6IFUKKQIQlhEWDHAyPb4N0gnUdgWNlg2MHgUIBAQE X-IronPort-AV: E=Sophos;i="5.20,458,1444665600"; d="scan'208,217";a="202915055" Received: from unknown (HELO [127.0.0.1]) ([45.79.190.81]) by icp-osb-irony-out6.iinet.net.au with ESMTP; 21 Dec 2015 13:47:18 +0800 Subject: Fwd: Cannot log in as newly created user EXTRA INFO References: <56753C01.105@westnet.com.au> To: pgsql-bugs@postgresql.org From: Emma Saurus X-Forwarded-Message-Id: <56753C01.105@westnet.com.au> Message-ID: <5677925D.7030509@westnet.com.au> Date: Mon, 21 Dec 2015 13:47:09 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <56753C01.105@westnet.com.au> Content-Type: multipart/alternative; boundary="------------030909030609020907000402" X-Antivirus: avast! (VPS 151220-1, 21/12/2015), Outbound message X-Antivirus-Status: Clean X-Pg-Spam-Score: -2.6 (--) 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 This is a multi-part message in MIME format. --------------030909030609020907000402 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi, I'd like to add another error example to my original query, please. This is a simpler example of another method I have tried which does not work for me (and which I'm sure people will advise me to try): postgres-# CREATE USER EmmaChwan WITH ENCRYPTED PASSWORD 'password'; > CREATE ROLE postgres=# \q C:\Users\EmmaChwan>psql > Password: > psql: FATAL: password authentication failed for user "EmmaChwan" Thanks! Emma -------- Forwarded Message -------- Subject: Cannot log in as newly created user Date: Sat, 19 Dec 2015 19:14:09 +0800 From: Emma Saurus To: pgsql-bugs@postgresql.org Hello, I hope that you may be able to help me with this very basic problem. I have read many fora posts as well as your documentation, and have been unable to resolve it myself. I am running PostgreSQL 9.3.10. I can log in as the default postgres user. I follow instructions to create a new role with a password. I log out and try to log in as the new user, but am not permitted. I've tried several variations of code without success. Latest, most out-of-the-manual code as follows: --- postgres=# CREATE ROLE EmmaChwan CREATEDB LOGIN PASSWORD 'password'; > CREATE ROLE postgres=# \q C:\Users\EmmaChwan>psql > Password: > psql: FATAL: password authentication failed for user "EmmaChwan" --- I don't know if it's related, but just for the record: I had installation issues, too. I tried to install postgres 9.4 several times with the EnterpriseDB Windows package (also re-downloaded the package a couple of times). I was never given the option of entering a password, and the generic password 'postgres' did not allow me to log in. I tried installing without any antivirus/firewall software active; still no success. When I installed version 9.3, I was given the password creation screen and could log in via command line with the password I set. Success! Kinda... I'm running Windows 8 x64 on an Intel processor, if that information is of any use at all. I've seen a number of users post with the same 'no password screen' problem, and each was told, "Nuh-uh, you did too get a password screen." I can cast one vote in favor of those posters not being crazy / premature 'Next'-button clickers. Any help you can offer would be greatly appreciated. It's very discouraging to get stuck on something so basic! Thanks, Emma --------------030909030609020907000402 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Hi, I'd like to add another error example to my original query, please.
This is a simpler example of another method I have tried which does not work for me (and which I'm sure people will advise me to try):

postgres-# CREATE USER EmmaChwan WITH ENCRYPTED PASSWORD 'password';
> CREATE ROLE
postgres=# \q

C:\Users\EmmaChwan>psql
> Password:
> psql: FATAL: password authentication failed for user "EmmaChwan"

Thanks! Emma

-------- Forwarded Message --------
Subject: Cannot log in as newly created user
Date: Sat, 19 Dec 2015 19:14:09 +0800
From: Emma Saurus <emmasaurus@westnet.com.au>
To: pgsql-bugs@postgresql.org


Hello, I hope that you may be able to help me with this very basic 
problem. I have read many fora posts as well as your documentation, and 
have been unable to resolve it myself.

I am running PostgreSQL 9.3.10. I can log in as the default postgres 
user. I follow instructions to create a new role with a password. I log 
out and try to log in as the new user, but am not permitted. I've tried 
several variations of code without success. Latest, most 
out-of-the-manual code as follows:

---
postgres=# CREATE ROLE EmmaChwan CREATEDB LOGIN PASSWORD 'password';
> CREATE ROLE
postgres=# \q

C:\Users\EmmaChwan>psql
> Password:
> psql: FATAL:  password authentication failed for user "EmmaChwan"
---

I don't know if it's related, but just for the record: I had 
installation issues, too.

I tried to install postgres 9.4 several times with the EnterpriseDB 
Windows package (also re-downloaded the package a couple of times). I 
was never given the option of entering a password, and the generic 
password 'postgres' did not allow me to log in. I tried installing 
without any antivirus/firewall software active; still no success.

When I installed version 9.3, I was given the password creation screen 
and could log in via command line with the password I set. Success! Kinda...

I'm running Windows 8 x64 on an Intel processor, if that information is 
of any use at all. I've seen a number of users post with the same 'no 
password screen' problem, and each was told, "Nuh-uh, you did too get a 
password screen." I can cast one vote in favor of those posters not 
being crazy / premature 'Next'-button clickers.

Any help you can offer would be greatly appreciated. It's very 
discouraging to get stuck on something so basic!
Thanks, Emma



--------------030909030609020907000402--