"Sebastian Reitenbach" <sebastia(at)l00-bugdead-prods(dot)de> writes:
> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> You definitely should not expect to convert the names to integers.
> Then I do not understand why only the names of the first and the last WAL
> file are stored in the backup history file.
You can compare the filenames as strings (at least in C locale this
works fine).
regards, tom lane