"Sebastian Reitenbach" <sebastia@l00-bugdead-prods.de> writes:
> Tom Lane <tgl@sss.pgh.pa.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