I was wondering about this point - might it not be just as reasonable
for the copied file to *be* an exact image of pg_control? Then a very
simple variant of pg_controldata (or maybe even just adding switches to
pg_controldata itself) would enable the relevant info to be extracted
P.s : would love to be that volunteer - however up to the eyeballs in
Business Objects (cringe) and Db2 for the next week or so....
regards
Mark
Bruce Momjian wrote:
>We need someone to code two backend functions to complete PITR.
>
>>><snippage>
>>>
>>>
>>>>However, once you decide to do things like that, there is no reason why
>>>>the copied file has to be an exact image of pg_control. I claim it
>>>>would be more useful if the copied file were plain text so that you
>>>>could just "cat" it to find out the starting WAL position; that would
>>>>let you determine without any special tools what range of WAL archive
>>>>files you are going to need to bring back from your archives.
>>>>
>>>>
>>>