As PostgreSQL numbers WALs sequentially, as long as your ls command by default orders listings by filename, then Yes. Or you could list by the last modified date/time should give the same effect.
Andy
Hi
Is is safe to assume that the unix ls command will return WAL files in the same sequence as postgres creates them.
e.g will ls <wal-file-folder> return files in the order that postgres created them
!DSPAM:14,44248f2235041511888239!