mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-02-03 14:01:57 +02:00
Michael Paquier
308d00b80c
Obtain timeline ID with control file and not XLOG system function
The system function used up to now was pg_xlogfile_name_offset, which cannot be used on a node in recovery, and it was the only way present to fetch the timeline ID of a backup, either incremental or full. So instead scan the control file of server and fetch the timeline from that. This also removes the restriction on which a backup could not be taken on a standby node. The next step being to have the possibility to take backups from streams.
Description
Languages
Python
59%
C
38.3%
Shell
2.4%
Perl
0.2%
Makefile
0.1%