f_ck postgreSQL/HEM imo. I've tried everything and until I build up the inspiration/stamina to attack the problem again I'm just going to have to live without it.