Added handler for diferent type od epgsql responses