Changed double quote handler for new postgres version