1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/test/expect
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
..
mock-all-001.log Support configurable WAL segment size. 2018-09-25 10:24:42 +01:00
mock-all-002.log Support configurable WAL segment size. 2018-09-25 10:24:42 +01:00
mock-all-003.log Support configurable WAL segment size. 2018-09-25 10:24:42 +01:00
mock-archive-001.log Correct current history item in InfoPg to always be in position 0. 2018-10-19 12:31:56 +02:00
mock-archive-002.log Allow hashSize() to run on remote storage. 2018-09-18 11:39:48 -04:00
mock-archive-003.log Move encryption in mock/archive tests to remote tests. 2018-09-06 09:35:34 -07:00
mock-archive-stop-001.log Add log-subprocess option to allow file logging for local and remote subprocesses. 2018-08-22 20:05:49 -04:00
mock-archive-stop-002.log Add log-subprocess option to allow file logging for local and remote subprocesses. 2018-08-22 20:05:49 -04:00
mock-archive-stop-003.log Add log-subprocess option to allow file logging for local and remote subprocesses. 2018-08-22 20:05:49 -04:00
mock-archive-stop-004.log Add log-subprocess option to allow file logging for local and remote subprocesses. 2018-08-22 20:05:49 -04:00
mock-archive-stop-005.log Add log-subprocess option to allow file logging for local and remote subprocesses. 2018-08-22 20:05:49 -04:00
mock-archive-stop-006.log Add log-subprocess option to allow file logging for local and remote subprocesses. 2018-08-22 20:05:49 -04:00
mock-archive-stop-007.log Add log-subprocess option to allow file logging for local and remote subprocesses. 2018-08-22 20:05:49 -04:00
mock-expire-001.log Add log-subprocess option to allow file logging for local and remote subprocesses. 2018-08-22 20:05:49 -04:00
mock-expire-002.log Add log-subprocess option to allow file logging for local and remote subprocesses. 2018-08-22 20:05:49 -04:00
mock-stanza-001.log Correct current history item in InfoPg to always be in position 0. 2018-10-19 12:31:56 +02:00
mock-stanza-002.log Support configurable WAL segment size. 2018-09-25 10:24:42 +01:00
mock-stanza-003.log Support configurable WAL segment size. 2018-09-25 10:24:42 +01:00
real-all-001.log Add checksum delta for incremental backups. 2018-09-19 11:12:45 -04:00
real-all-002.log Add checksum delta for incremental backups. 2018-09-19 11:12:45 -04:00
real-all-003.log Add checksum delta for incremental backups. 2018-09-19 11:12:45 -04:00
real-all-004.log Add checksum delta for incremental backups. 2018-09-19 11:12:45 -04:00
real-all-005.log Add checksum delta for incremental backups. 2018-09-19 11:12:45 -04:00
real-all-006.log Add checksum delta for incremental backups. 2018-09-19 11:12:45 -04:00