"George Wilk" <gwilk@xxxxxxxxxxxx> writes: > I am running a warm standby server, which executes the following command in > a recovery mode: > [ when done: ] > exit 133 Did you pick that number out of a hat? Postgres thinks it means that the recovery command died horribly, and abandons the recovery as a safety measure. (Per Single Unix Spec, this exit code from a shell script would ordinarily mean that some program the shell called died with a signal 5.) Use "exit 1" or some low number like that to signal ordinary failure to find the requested xlog file. Numbers larger than about 125 mean catastrophic failure of the recovery command. regards, tom lane