I have a user hduser and user postgres,
with hduser:
hduser@master:/$ psql -Upostgres -W analytics
Password for user postgres:
psql: FATAL: Ident authentication failed for user "postgres"
hduser@master:/$
with postgres:
postgres@master:/opt/pentaho/biserver-ce$ psql -Upostgres -W analytics
Password for user postgres:
psql (8.4.9)
Type "help" for help.
analytics=#
How can I login to same database with a different user like hduser or some other?
Thank you