Fujii Masao wrote:
> We would be easily able to calculate the last archived log file from
> the existence of archive status files.
>
Right, but you have to actually scan the whole archive directory to
figure that out, and I'd rather not see that code get duplicated
somewhere else when it's already inside the archive_command logic. If
it just shared that info with the rest of the system instead this would
be trivial to discover.
--
Greg Smith 2ndQuadrant US Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com www.2ndQuadrant.us