Add psql configuration, thanks to hgmnz