problem with password - Mailing list pgsql-general

From Sasha
Subject problem with password
Date
Msg-id 000701c2de88$970faa60$528e5cd4@alex
Whole thread Raw
Responses Re: problem with password
List pgsql-general
I create the database by following:
 
mkdir -p /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
su postgres
 
initdb -D /usr/local/pgsql/data
postmaster -D /usr/local/pgsql/data
createdb appc
psql appc
 
Then i create a same user:
 
create user dima with password 'dima'
\q
 
Then:
 
psql appc -U dima -W
Password: __Input any password__ - enter to postgresql.
 
Why i can access to database with any password? What is my error?

pgsql-general by date:

Previous
From: "Derrick Rapley"
Date:
Subject: Why PostgreSQL?
Next
From: Dave Cramer
Date:
Subject: phpBB2 slow on postgres vs mysql ?