Erik Jones <ejones(at)engineyard(dot)com> writes:
> What's the best way to determine the age of the current WAL? Not the current segment, but the whole thing. Put another way: is there a way to determine a timestamp for the oldest available transaction in the WAL?
Transaction commit and abort records carry timestamps, so you could
figure this out with something like pg_xlogdump. I don't know of any
canned solution though.
regards, tom lane