fix an issue with the postgres switcher, for now