gatein can connect with posgrest 8.2 ? how?
GateIn and PostgreSQL have been successfully configured be many. These links might be of help to you.
I have myself done the configuration with PostgreSQL 8.3.0
Post the error log if you're facing any issues...
Retrieving data ...