>> > Unable to connect to the database.
>> > FATAL: IDENT authentication failed for user "portgres"
> I'm reading about pg_hba.conf and postgres.conf and is possible that the
> problem is about it and this configure.
I would not use IDENT authentication (specified in pg_hba.conf) under any
circumstances I can think of. Either use TRUST or use MD5, I always use
MD5 once the DBA accounts are established and passworded.