Customizing postgresql and related tools