Yeah, you probably have no ident server.
afoken's advice is good (but careful: his URLs point to 9.0, which is slightly different). A few extra remarks:
Server restart can be avoided with:
select pg_reload_conf(); -- returns true on success
or, on the commandline: pg_ctl reload ...
Maybe not necessary now, but further down the road you may find it handy to organise access (permanently or temporary) via the ~/.pgpass file, and/or the PGPASSFILE environment variable, which you can have pointing to any .pgpass-like file. More info here;
Finally, read the Pg manual caveat on 'ident':
Heed the warning: The Identification Protocol is not intended as an authorization or access control protocol. --RFC 1413
In reply to Re^5: Trouble Connecting to PostgreSQL with DBD::Pg
by erix
in thread Trouble Connecting to PostgreSQL with DBD::Pg
by vendion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |