Alex Shulgin <alex(dot)shulgin(at)gmail(dot)com> writes:
> How would it read that from a catalog if the cluster didn't recover
> from the crash yet?
> I'd think it's looking at last-modified timestamps of some of the
> PGDATA files instead.
No, it's looking at a last-update timestamp field in pg_control.
regards, tom lane