Make it postgres compatible