tries to switch to postgres