I myself noticed that if a client is still connected to the DB server,then PgSQL won't restart. Are you sure all your clients are/weredisconnected? I myself have the DB on remote a virtual machine.