1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/doc/xml
David Steele 070455ce44 Correct current history item in InfoPg to always be in position 0.
The InfoPg object was partially modified in 960ad732 to place the current history item in position 0, but infoPgDataCurrent() didn't get updated correctly.

Remove this->indexCurrent and make the current position always equal 0.  Use the new lstInsert() function when adding new history items via infoPgAdd(), but continue to use lstAdd() when loading from a file for efficiency.

This does not appear to be a live bug because infoPgDataCurrent() and infoPgAdd() are not yet used in any production code.  The archive-get command is the only C code using InfoPG and it always looks at the entire list of items rather than just the current item.

Suggested by Cynthia Shang.
2018-10-19 12:31:56 +02:00
..
dtd Allow containers to be defined in a document. 2018-07-23 07:49:15 -04:00
coding.xml Storage object improvements. 2018-04-03 12:25:21 -04:00
index.xml Update introduction to be pithy. 2018-09-19 18:26:12 -04:00
reference.xml Add checksum delta for incremental backups. 2018-09-19 11:12:45 -04:00
release.xml Correct current history item in InfoPg to always be in position 0. 2018-10-19 12:31:56 +02:00
test.xml Rename db-* options to pg-* and backup-* options to repo-* to improve consistency. 2018-02-03 18:27:38 -05:00
user-guide.xml Use command in authorized_hosts to improve SSH security. 2018-09-19 16:41:20 -04:00