by Osirius » Wed Feb 09, 2011 6:34 am
I did as you said
If I enter password postgrespass or dbpass it shows
Last login: Wed Feb 9 20:31:47 on ttys000
/Library/PostgreSQL/8.4//scripts/runpsql.sh; exit
Lubov-Vorontsovas-Macbook:~ Luba$ /Library/PostgreSQL/8.4//scripts/runpsql.sh; exit
Server [localhost]:
Database [postgres]:
Port [5432]:
Username [postgres]:
Password for user postgres:
psql: FATAL: password authentication failed for user "postgres"
Press <return> to continue...
logout
If I enter password postgres it shows
Last login: Wed Feb 9 20:32:42 on ttys000
/Library/PostgreSQL/8.4//scripts/runpsql.sh; exit
Lubov-Vorontsovas-Macbook:~ Luba$ /Library/PostgreSQL/8.4//scripts/runpsql.sh; exit
Server [localhost]:
Database [postgres]:
Port [5432]:
Username [postgres]:
Password for user postgres:
psql (8.4.2, server 9.0.3)
WARNING: psql version 8.4, server version 9.0.
Some psql features might not work.
Type "help" for help.
postgres=# \|
Invalid command \|. Try \? for help.
postgres=# \?
General
\copyright show PostgreSQL usage and distribution terms
\g [FILE] or ; execute query (and send results to file or |pipe)
\h [NAME] help on syntax of SQL commands, * for all commands
\q quit psql
Query Buffer
\e [FILE] edit the query buffer (or file) with external editor
\ef [FUNCNAME] edit function definition with external editor
\p show the contents of the query buffer
\r reset (clear) the query buffer
\s [FILE] display history or save it to file
\w FILE write query buffer to file
Input/Output
\copy ... perform SQL COPY with data stream to the client host
\echo [STRING] write string to standard output
\i FILE execute commands from file
\o [FILE] send all query results to file or |pipe
\qecho [STRING] write string to query output stream (see \o)
Informational
(options: S = show system objects, + = additional detail)