"Andy Shellam" <andy(dot)shellam(at)mailnetwork(dot)co(dot)uk> writes:
> The DOCs say that filenames numerically less than the WAL record that
> pg_stop_backup() suggests can be removed. Will an alphabetical sorting
> be different from numerically sorted filename ?
If you're worried about that, try "LANG=C ls ..." to make sure the
sorting is done in C locale. I don't know of any locales that would
sort hex numbers differently from C, but maybe there are some.
regards, tom lane