fix restarting postgres 9.3