1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00

v2.51: Meson Build System

NOTE TO PACKAGERS: The build system for pgBackRest is now meson. The autoconf/make build will not receive any new features and will be removed after a few releases.

Bug Fixes:

* Skip zero-length files for block incremental delta restore. (Reviewed by Sebastian Krause, René Højbjerg Larsen. Reported by Sebastian Krause.)
* Fix performance regression in storage list. (Reviewed by Stephen Frost. Reported by Maksym Boguk.)
* Fix progress logging when file size changes during backup. (Reviewed by Stephen Frost. Reported by samkingno.)

Improvements:

* Improved support for dual stack connections. (Reviewed by Stephen Frost. Suggested by Timothée Peignier.)
* Make meson the primary build system. (Reviewed by Stephen Frost.)
* Detect files that have not changed during non-delta incremental backup. (Reviewed by Stephen Frost.)
* Prevent invalid recovery when backup_label removed. (Reviewed by Stephen Frost.)
* Improve archive-push WAL segment queue handling. (Reviewed by Stephen Frost.)
* Limit resume functionality to full backups. (Reviewed by Stephen Frost, Stefan Fercot.)
* Update resume functionality for block incremental. (Reviewed by Stephen Frost.)
* Allow --version and --help for version and help. (Reviewed by Greg Sabino Mullane. Suggested by Greg Sabino Mullane.)
* Add detailed backtrace to autoconf/make build. (Reviewed by Stephen Frost.)

Documentation Improvements:

* Update references to recovery.conf. (Reviewed by Stefan Fercot. Suggested by Stephen Frost.)
This commit is contained in:
David Steele 2024-03-25 09:53:22 +13:00
parent 76956e71cf
commit dc07fb1e5b
11 changed files with 679 additions and 528 deletions

View File

@ -237,7 +237,6 @@ pgbackrest/test/test.pl --dry-run
P00 INFO: test begin on x86_64 - log level info
P00 INFO: clean autogenerate code
P00 INFO: builds required: bin
--> P00 INFO: 81 tests selected
P00 INFO: P1-T01/81 - vm=none, module=common, test=error
@ -259,12 +258,12 @@ pgbackrest/test/test.pl --vm-out --module=common --test=wait
P00 INFO: autogenerated version in configure.ac script: no changes
P00 INFO: autogenerated configure script: no changes
P00 INFO: autogenerate code
P00 INFO: builds required: none
P00 INFO: build for none (/home/vagrant/test/build/none)
P00 INFO: 1 test selected
P00 INFO: P1-T1/1 - vm=none, module=common, test=wait
P00 INFO: test command begin 2.50: [common/wait] --log-level=info --no-log-timestamp --repo-path=/home/vagrant/test/repo --test-path=/home/vagrant/test --vm=none --vm-id=0
P00 INFO: test command begin 2.51: [common/wait] --log-level=info --no-log-timestamp --repo-path=/home/vagrant/test/repo --test-path=/home/vagrant/test --vm=none --vm-id=0
P00 INFO: test command end: completed successfully
run 1 - waitNew(), waitMore, and waitFree()
L0018 expect AssertError: assertion 'waitTime <= 999999000' failed
@ -329,7 +328,7 @@ pgbackrest/test/test.pl --module=postgres
P00 INFO: autogenerated version in configure.ac script: no changes
P00 INFO: autogenerated configure script: no changes
P00 INFO: autogenerate code
P00 INFO: builds required: none
P00 INFO: build for none (/home/vagrant/test/build/none)
P00 INFO: 2 tests selected
P00 INFO: P1-T1/2 - vm=none, module=postgres, test=client
@ -367,15 +366,14 @@ pgbackrest/test/test.pl --vm=u20 --module=postgres --test=interface --run=2
P00 INFO: autogenerate configure
P00 INFO: autogenerated version in configure.ac script: no changes
P00 INFO: autogenerated configure script: no changes
P00 INFO: clean autogenerate code
P00 INFO: builds required: bin, bin host
P00 INFO: bin build for u20 (/home/vagrant/test/bin/u20)
P00 INFO: bin dependencies have changed, rebuilding
P00 INFO: bin build for none (/home/vagrant/test/build/none)
P00 INFO: autogenerate code
P00 INFO: clean build for u20 (/home/vagrant/test/build/u20)
P00 INFO: 1 test selected
P00 INFO: P1-T1/1 - vm=u20, module=mock, test=archive, run=2
P00 INFO: P1-T1/1 - vm=u20, module=postgres, test=interface, run=2
P00 INFO: no code modules had all tests run required for coverage
P00 INFO: tested modules have full coverage
P00 INFO: writing C coverage report
P00 INFO: TESTS COMPLETED SUCCESSFULLY
```

View File

@ -4,7 +4,7 @@
pgBackRest is a reliable backup and restore solution for PostgreSQL that seamlessly scales up to the largest databases and workloads.
pgBackRest [v2.50](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.50) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page.
pgBackRest [v2.51](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.51) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page.
Please find us on [GitHub](https://github.com/pgbackrest/pgbackrest) and give us a star if you like pgBackRest!

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,208 @@
[
{
"commit": "76956e71cfa3044867213bd65a6f22e96120c108",
"date": "2024-03-20 09:05:39 +1300",
"subject": "Fix progress logging when file size changes during backup.",
"body": "If the file size changed during backup then the progress percentage in the log would not be accurate.\r\n\r\nFix this by using the original size to increment the progress since progress total was calculated from original file sizes."
},
{
"commit": "de55902fb3f92758c4784e6fc06a69466e656ec3",
"date": "2024-03-13 12:06:23 +1300",
"subject": "Redact secure options in check --report.",
"body": "For this to be practically useful secure options must be redacted. Otherwise, no user is likely to share the report.\n\nSince this feature is still internal, there is no real world impact."
},
{
"commit": "ff47450402fde5ebc64a08d31791551bee52200e",
"date": "2024-03-12 12:41:58 +1300",
"subject": "Update resume functionality for block incremental.",
"body": "Resume was not updated for block incremental so block incremental files were always removed during a resume. Resume worked but was very inefficient with block incremental enabled.\r\n\r\nUpdate resume to preserve block incremental files and add tests."
},
{
"commit": "e634fd85cedc1ae3aef7c4fa2556d7d73d05cb8a",
"date": "2024-03-10 17:08:42 +1300",
"subject": "Prevent invalid recovery when backup_label removed.",
"body": "If backup_label is removed from a restored backup then PostgreSQL will instead use checkpoint information from pg_control to attempt (what is thinks is) crash recovery. This will nearly always result in a corrupt cluster because the checkpoint will not be from the beginning of the backup, and even if it is, the end point will not be specified, which could lead to recovery stopping too early.\r\n\r\nTo prevent this, invalidate the checkpoint LSN in pg_control on restore. If backup_label is removed then recovery will still fail because PostgreSQL will not be able to find the invalid checkpoint. The LSN of the checkpoint is not logged but it will be visible in pg_controldata output as 0/DEAD. This value is invalid because PostgreSQL always skips the first WAL segment when initializing a cluster."
},
{
"commit": "960b43589d422a3757535b585e31da03a595ae97",
"date": "2024-03-10 16:17:50 +1300",
"subject": "Add validation for WAL segment size in pg_control.",
"body": "This serves as an additional sanity check to be sure the pg_control format is as expected. The field is useful for being near the end and containing a limited number of discrete values."
},
{
"commit": "63541b2273360c8c3f181fe0242bd20afb845715",
"date": "2024-03-10 15:50:10 +1300",
"subject": "Add validation for page checksum version in pg_control.",
"body": "This serves as an additional sanity check to be sure the pg_control format is as expected. The field is useful for being all the way at the end and being four bytes that can only have one of two values. Something more distinctive than 0 and 1 would be better, but this is what we have to work with.\n\nConvert PgControl.pageChecksum to unsigned int and rename to PgControl.pageChecksumVersion and make all downstream changes required for the new datatype."
},
{
"commit": "7448fde157c6d22f57b90c0cef11957b0aadf4b3",
"date": "2024-03-10 11:36:39 +1300",
"subject": "Improved support for dual stack connections.",
"body": "Connections are established using the \"happy eyeballs\" approach from RFC 8305, i.e. new addresses (if available) are tried if the prior address has already had a reasonable time to connect. This prevents waiting too long on a failed connection but does not try all the addresses at once. Prior connections that are still waiting are rechecked periodically if no subsequent connection is successful.\r\n\r\nThis improves substantially on 39bb8a0, which failed to take into account connection attempts that do not fail (but never connect) and use up all the available time."
},
{
"commit": "f287178b705cc90aa887d66c932e2a223029649b",
"date": "2024-03-10 11:09:13 +1300",
"subject": "Set function/variable visibility to hidden.",
"body": "This saves about 16KiB in the binary and reduces exported symbols by about 75%. All variables are still exported and any functions that are referenced by their pointers or extern'd but never used outside the module where they are defined.\r\n\r\nIn addition to modest space savings, this should also increase performance a bit since the compiler can simplify calls to these functions and load the binary should also be a little faster.\r\n\r\nThe GCC documentation does not make it clear that visibility can be used with variables, but it certainly makes a difference in the binary size, so something is happening. Other sources on the internet suggest that visibility can be used with variables. Clearly exports are not affected, but there may be some other optimization happening."
},
{
"commit": "e3d9df3ae9669ee5749b970d59f8afeb20fd3d9d",
"date": "2024-03-10 10:53:31 +1300",
"subject": "Make meson the primary build system.",
"body": "Meson has a lot of advantages over autoconf/make, primarily in ease-of-use and performance. Make meson the only build system used for testing and building the Debian documentation, but leave the RHEL documentation using autoconf/make for now so it gets some testing."
},
{
"commit": "c64cd8e01958c3316049d73f403241c136bcf392",
"date": "2024-03-10 10:43:24 +1300",
"subject": "Disable arm64 test in CirrusCI.",
"body": "There seems to be a shortage of arm64 hosts because queue times have been steadily increasing over the last few weeks. It can now take several hours to get an arm64 test queued, which makes it difficult to get development done.\n\nDisable for the time being and hope the resource issue gets resolved in the future."
},
{
"commit": "eda7706f53e925a701f85894ab3d8e861e5fcf06",
"date": "2024-03-10 09:40:13 +1300",
"subject": "Make valgrind libssh2 leak check less specific.",
"body": "The leak kind is usually definite but sometimes flaps to possible. For stability purposes accept any leak kind.\n\nNote that this is a leak in a specific version of libssh2 and not a bug in pgBackRest."
},
{
"commit": "dddcbcd8e9a1cae578b0cc5bb2d1aa768330f3c5",
"date": "2024-03-10 09:32:55 +1300",
"subject": "Limit resume functionality to full backups.",
"body": "Resume does not work correctly with delta diff/incr backups because the presence of a reference causes it to remove the file with the idea that it can just be referenced again. This is true for timestamp-based backups but for deltas all existing files need to be rechecked (which requires a reference).\r\n\r\nThis is fixable but not without significant effort and new tests and it calls into question the usefulness of non-full resumes. For diff/incr, if the file was changed since the prior backup there is a good chance it will be modified again before the resume occurs.\r\n\r\nIn order to keep this feature as useful as possible for the most valuable case, limit resumes to full backups."
},
{
"commit": "9d91d1b2f817b543fc8d970af56d1442c325ed7c",
"date": "2024-03-08 15:07:43 +1300",
"subject": "Detect files that have not changed during non-delta incremental backup.",
"body": "02eea55 added code to load a buffer of data from a file being backup up to detect files that have been truncated to zero after manifest generation. This mechanism can also be used to detect files that have not changed since the prior backup.\r\n\r\nIf the result of the file copy fits into a single buffer, then the size and checksum can be compared to the prior file before anything gets stored. If the file matches then it is referenced to the file in to prior backup.\r\n\r\nThe size that can be compared for normal copies is limited by the buffer size but for block incremental it works with any size file since there is no output from block incremental when the file is identical."
},
{
"commit": "cf17515e409440eecfb04bf7186790d8baa8ab12",
"date": "2024-03-08 12:34:11 +1300",
"subject": "Improve archive-push WAL segment queue handling.",
"body": "Infer the size of all WAL segments from the size of the first segment rather than getting info for all segments (up to queue size). If the segments are not the same size then there are larger issues than the WAL queue."
},
{
"commit": "4387250f2e159dc4f762ed4a7f4180eb81db3717",
"date": "2024-03-08 10:07:03 +1300",
"subject": "Improve sort comparators.",
"body": "Improve sort comparators to use branchless comparisons when possible and avoid using subtraction. Only one comparator was using subtraction and it appears there was no overflow risk since the values were pretty small.\r\n\r\nInspired by https://www.postgresql.org/message-id/CA%2B14426g2Wa9QuUpmakwPxXFWG_1FaY0AsApkvcTBy-YfS6uaw%40mail.gmail.com."
},
{
"commit": "e00bfe2d2c3f124b2883e3c2d169a2ce506a1e98",
"date": "2024-03-08 09:50:20 +1300",
"subject": "Fix performance regression in storage list.",
"body": "storageListP() returns a list of entries in a path and should not need to stat/head, etc. in order to get more detailed info. This was broken by 75623d4 which failed to set the level correctly.\r\n\r\nSet the correct level and update tests.\r\n\r\nThere's no easy way to directly test for a regression here but the SFTP tests will fail if more detailed info is requested since it would require script changes."
},
{
"commit": "794c5771305bfce6298ee529df682d3a873f6f7d",
"date": "2024-03-06 11:00:09 +1300",
"subject": "Migrate integration tests to C.",
"body": "The Perl integration tests were migrated as faithfully as possible, but there was some cruft and a few unit tests that it did not make sense to migrate.\n\nAlso remove all Perl code made obsolete by this migration.\n\nAll unit, performance, and integration tests are now written in C but significant parts of the test harness remain to be migrated."
},
{
"commit": "7f1bb3a051077d8af2bcadfb261c873b1bdcea9f",
"date": "2024-03-05 17:45:25 +1300",
"subject": "Remove obsolete valgrind suppression."
},
{
"commit": "cb58bdc9752e720687e594fa953e1b4a93b8defe",
"date": "2024-03-04 18:57:19 +1300",
"subject": "Move assert in cmdServerSigChild().",
"body": "It is possible for the server to receive notifications for children that were not spawned by it, e.g. when running as the root process of a container.\n\nOnly assert when the child process is found in our process list. Otherwise, the code may be something unexpected.\n\nSince this is an assert there should not be any real world consequences either way, but the issue has caused problems in testing."
},
{
"commit": "07051347fb8723ef1c6f951b17bcddb8fa0d8fcf",
"date": "2024-03-04 18:14:41 +1300",
"subject": "Update Cirrus CI BSD image to 13.3."
},
{
"commit": "f7a7ab16c9652179945717ebf9b68af3aa8a0b0e",
"date": "2024-03-02 12:29:10 +1300",
"subject": "Skip zero-length files for block incremental delta restore.",
"body": "a42614e introduced the capability to preserve smaller than expected files for block incremental restore delta, but failed to take into account that zero-length files are both useless and cause the block checksum filter to error.\r\n\r\nFix this by skipping zero-length files during block incremental restore delta."
},
{
"commit": "6c45b57fa8eef0f570abb1ac216ac43e0acf314a",
"date": "2024-02-24 11:22:48 +1300",
"subject": "Add execOne() to simplify exec for build, documentation, and testing.",
"body": "The core Exec object is efficient but geared toward the specific needs of core and not ease-of-use as required for build, documentation, and testing.\n\nexecOne() works similarly to system() except that it automatically redirects stderr to stdout and captures the output."
},
{
"commit": "6356a2b76c8f22dc0b3e1a0349b7f1f0cf1b65ae",
"date": "2024-02-17 19:16:39 +1300",
"subject": "Disable log expect testing for non-unit tests.",
"body": "This has never been a problem for performance tests since they do not call functions that log at info level or above, but the upcoming integration tests may do so. In any case it is better to disable this functionality outside of unit tests."
},
{
"commit": "d41b21c8f70aa6ce7a39aeaddbbacafda51c609d",
"date": "2024-02-17 10:52:37 +1300",
"subject": "Remove mock integration tests.",
"body": "These tests have not been maintained for several years, i.e. no tests for new features have been added. They are highly duplicative of the unit tests but do have the advantage of mixing in different storage drivers. They were allowed to remain because they were not doing any harm even if they were probably not doing any good.\n\nHowever, the real integration tests (that run directly against PostgreSQL) also test storage drivers and have been updated with new features over time. The real integration tests are now being migrated to C and as part of that effort the mock integration tests need to be removed or migrated, and they do not provide enough value to migrate.\n\nRemove all mock integration tests and a leftover Perl performance test."
},
{
"commit": "68351785f6816a23526900db595557cf6e3a0056",
"date": "2024-02-16 11:37:31 +1300",
"subject": "Update references to recovery.conf.",
"body": "Update references to recovery.conf to include postgresql.auto.conf used in newer versions.\r\n\r\nAlso update a broken recovery URL and point it to the current version (with a hint to select the proper version of PostgreSQL)."
},
{
"commit": "273d5050f8bd74869408d9570a35761ba5de75f1",
"date": "2024-02-07 11:01:55 -0300",
"subject": "Add asserts to default switch cases in common/type/variant module.",
"body": "This matches how switch is used in other parts of the code and prevents invalid values from being processed normally."
},
{
"commit": "ad8e92a9ac23a0123a080dafe6b83f0b71a22441",
"date": "2024-02-05 10:10:59 -0300",
"subject": "Remove unneeded backupTimeStart parameter from testBackupValidate().",
"body": "5ce8b9df added this parameter, but it is better to get the value from the manifest, which is already present."
},
{
"commit": "45f070aa9a221c6f862ff6ccb4ff011bfa6c3888",
"date": "2024-01-25 10:41:20 -0300",
"subject": "Add release instructions to update PostgreSQL ecosystem wiki."
},
{
"commit": "5ce8b9dfae984a9a40c44282a59936da5c3dfbd9",
"date": "2024-01-24 14:54:28 -0300",
"subject": "Simplify output in command/backup unit tests.",
"body": "The output combined a representation of the files/paths/links in the manifest along with output of what was validated on disk. This was redundant and made maintenance of the tests difficult, especially with all the quoting in the manifest output (which also made it hard to search for output).\n\nInstead use primarily the output created during validation and add fields from the manifest that were missing. Exclude paths from the output when there are files in the path since the path is then implied.\n\nOne major change here is that checksums are no longer output. This makes it easier to write tests that work on multiple architectures and all checksums are already verified during validation."
},
{
"commit": "1a0cc96c5a58cea2a21b8754909c6a2b824c3f9e",
"date": "2024-01-23 09:56:26 -0300",
"subject": "Migrate man page generation to C."
},
{
"commit": "676700d8ca6f2e0e0ab8123aa9606c8ec7aa81ae",
"date": "2024-01-22 14:17:09 -0300",
"subject": "Add detailed backtrace to autoconf/make build.",
"body": "c8264291 added libbacktrace to the meson build (not used in production yet), but held off on adding it to autoconf/make before more performance testing was done.\r\n\r\nPerformance tests show there is no noticeable cost to adding libbacktrace, so add it to get more detail error stack traces."
},
{
"commit": "0aaa0772f56d59178518377b33b3e3d02f0f5483",
"date": "2024-01-22 12:33:40 -0300",
"subject": "Fix help not displaying help for the help command.",
"body": "'pgbackrest help help' just displayed the help overview, rather than display help for the help command.\n\nFix this by making sure the command is set and routing correctly in the help command."
},
{
"commit": "68db3075d7ac4a48377967ad54e45b95b9ee6c61",
"date": "2024-01-22 12:00:13 -0300",
"subject": "Allow --version and --help for version and help.",
"body": "It is a bit confusing that --help and --version do not work like most command-line programs. For example, git allows either --help or help.\r\n\r\nMake these work by making them shortcuts (not actual options) to the applicable commands.\r\n\r\nThe user will still need to use help (not --help) to get help on specific commands/options, but at least they can get to the main help (which will tell them this) via --help."
},
{
"commit": "db5bcff3b443833dce6ba0f10ce4293d65f0f436",
"date": "2024-01-22 10:11:48 -0300",
"subject": "Update config.guess and config.sub to latest versions."
},
{
"commit": "c618fd3b09fab8cde44ad8e5fe0cb984c1bc76d4",
"date": "2024-01-22 10:09:38 -0300",
"subject": "Begin v2.51 development."
},
{
"commit": "1add35624dbf4061bcb19521022b318418b0bba5",
"date": "2024-01-22 09:54:59 -0300",

View File

@ -1,8 +1,8 @@
<table-row>
<table-cell>build/common</table-cell>
<table-cell>20/20 (100.0%)</table-cell>
<table-cell>48/48 (100.0%)</table-cell>
<table-cell>251/251 (100.0%)</table-cell>
<table-cell>22/22 (100.0%)</table-cell>
<table-cell>56/56 (100.0%)</table-cell>
<table-cell>290/290 (100.0%)</table-cell>
</table-row>
<table-row>
@ -57,29 +57,29 @@
<table-row>
<table-cell>command/archive/get</table-cell>
<table-cell>9/9 (100.0%)</table-cell>
<table-cell>196/196 (100.0%)</table-cell>
<table-cell>467/467 (100.0%)</table-cell>
<table-cell>200/200 (100.0%)</table-cell>
<table-cell>469/469 (100.0%)</table-cell>
</table-row>
<table-row>
<table-cell>command/archive/push</table-cell>
<table-cell>12/12 (100.0%)</table-cell>
<table-cell>132/132 (100.0%)</table-cell>
<table-cell>410/410 (100.0%)</table-cell>
<table-cell>130/130 (100.0%)</table-cell>
<table-cell>407/407 (100.0%)</table-cell>
</table-row>
<table-row>
<table-cell>command/backup</table-cell>
<table-cell>50/50 (100.0%)</table-cell>
<table-cell>778/778 (100.0%)</table-cell>
<table-cell>1878/1878 (100.0%)</table-cell>
<table-cell>790/790 (100.0%)</table-cell>
<table-cell>1895/1895 (100.0%)</table-cell>
</table-row>
<table-row>
<table-cell>command/check</table-cell>
<table-cell>13/13 (100.0%)</table-cell>
<table-cell>104/104 (100.0%)</table-cell>
<table-cell>269/269 (100.0%)</table-cell>
<table-cell>106/106 (100.0%)</table-cell>
<table-cell>272/272 (100.0%)</table-cell>
</table-row>
<table-row>
@ -99,8 +99,8 @@
<table-row>
<table-cell>command/help</table-cell>
<table-cell>5/5 (100.0%)</table-cell>
<table-cell>136/136 (100.0%)</table-cell>
<table-cell>244/244 (100.0%)</table-cell>
<table-cell>134/134 (100.0%)</table-cell>
<table-cell>243/243 (100.0%)</table-cell>
</table-row>
<table-row>
@ -134,8 +134,8 @@
<table-row>
<table-cell>command/restore</table-cell>
<table-cell>34/34 (100.0%)</table-cell>
<table-cell>692/692 (100.0%)</table-cell>
<table-cell>1443/1443 (100.0%)</table-cell>
<table-cell>696/696 (100.0%)</table-cell>
<table-cell>1448/1448 (100.0%)</table-cell>
</table-row>
<table-row>
@ -161,9 +161,9 @@
<table-row>
<table-cell>common</table-cell>
<table-cell>157/157 (100.0%)</table-cell>
<table-cell>656/656 (100.0%)</table-cell>
<table-cell>1993/1993 (100.0%)</table-cell>
<table-cell>149/149 (100.0%)</table-cell>
<table-cell>634/634 (100.0%)</table-cell>
<table-cell>1856/1856 (100.0%)</table-cell>
</table-row>
<table-row>
@ -238,9 +238,9 @@
<table-row>
<table-cell>common/io/socket</table-cell>
<table-cell>27/27 (100.0%)</table-cell>
<table-cell>44/44 (100.0%)</table-cell>
<table-cell>345/345 (100.0%)</table-cell>
<table-cell>28/28 (100.0%)</table-cell>
<table-cell>104/104 (100.0%)</table-cell>
<table-cell>440/440 (100.0%)</table-cell>
</table-row>
<table-row>
@ -253,15 +253,15 @@
<table-row>
<table-cell>common/type</table-cell>
<table-cell>320/320 (100.0%)</table-cell>
<table-cell>846/846 (100.0%)</table-cell>
<table-cell>4136/4136 (100.0%)</table-cell>
<table-cell>842/842 (100.0%)</table-cell>
<table-cell>4141/4141 (100.0%)</table-cell>
</table-row>
<table-row>
<table-cell>config</table-cell>
<table-cell>90/90 (100.0%)</table-cell>
<table-cell>966/966 (100.0%)</table-cell>
<table-cell>1859/1859 (100.0%)</table-cell>
<table-cell>984/984 (100.0%)</table-cell>
<table-cell>1876/1876 (100.0%)</table-cell>
</table-row>
<table-row>
@ -273,23 +273,23 @@
<table-row>
<table-cell>doc/src/command/build</table-cell>
<table-cell>5/5 (100.0%)</table-cell>
<table-cell>96/96 (100.0%)</table-cell>
<table-cell>185/185 (100.0%)</table-cell>
<table-cell>8/8 (100.0%)</table-cell>
<table-cell>134/134 (100.0%)</table-cell>
<table-cell>301/301 (100.0%)</table-cell>
</table-row>
<table-row>
<table-cell>info</table-cell>
<table-cell>92/92 (100.0%)</table-cell>
<table-cell>938/938 (100.0%)</table-cell>
<table-cell>2495/2495 (100.0%)</table-cell>
<table-cell>944/944 (100.0%)</table-cell>
<table-cell>2504/2504 (100.0%)</table-cell>
</table-row>
<table-row>
<table-cell>postgres</table-cell>
<table-cell>34/34 (100.0%)</table-cell>
<table-cell>122/122 (100.0%)</table-cell>
<table-cell>435/435 (100.0%)</table-cell>
<table-cell>37/37 (100.0%)</table-cell>
<table-cell>136/136 (100.0%)</table-cell>
<table-cell>475/475 (100.0%)</table-cell>
</table-row>
<table-row>
@ -364,7 +364,7 @@
<table-row>
<table-cell>TOTAL</table-cell>
<table-cell>1645/1645 (100.0%)</table-cell>
<table-cell>10349/10350 (99.99%)</table-cell>
<table-cell>30973/30973 (100.0%)</table-cell>
<table-cell>1646/1646 (100.0%)</table-cell>
<table-cell>10485/10486 (99.99%)</table-cell>
<table-cell>31180/31180 (100.0%)</table-cell>
</table-row>

View File

@ -1,4 +1,4 @@
<release date="XXXX-XX-XX" version="2.51dev" title="UNDER DEVELOPMENT">
<release date="2024-03-25" version="2.51" title="Meson Build System">
<release-core-list>
<text>
<p><b>NOTE TO PACKAGERS</b>: The build system for <backrest/> is now <proper>meson</proper>. The <proper>autoconf</proper>/<proper>make</proper> build will not receive any new features and will be removed after a few releases.</p>
@ -141,7 +141,7 @@
<release-item-reviewer id="greg.sabino.mullane"/>
</release-item-contributor-list>
<p>Allow <br-setting>--version</br-setting> and <br-setting>--help</br-setting> for version and help.</p>
<p>Allow <setting>--version</setting> and <setting>--help</setting> for version and help.</p>
</release-item>
<release-item>

View File

@ -4,7 +4,7 @@
project(
'pgbackrest',
['c'],
version: '2.51dev',
version: '2.51',
license: 'MIT',
meson_version: '>=0.45',
default_options: [

View File

@ -1,7 +1,7 @@
# Initialize configuration
# ----------------------------------------------------------------------------------------------------------------------------------
AC_PREREQ([2.71])
AC_INIT([pgBackRest], [2.51dev])
AC_INIT([pgBackRest], [2.51])
AC_CONFIG_SRCDIR([version.h])
AC_CONFIG_AUX_DIR(build)

20
src/configure vendored
View File

@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.71 for pgBackRest 2.51dev.
# Generated by GNU Autoconf 2.71 for pgBackRest 2.51.
#
#
# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
@ -607,8 +607,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='pgBackRest'
PACKAGE_TARNAME='pgbackrest'
PACKAGE_VERSION='2.51dev'
PACKAGE_STRING='pgBackRest 2.51dev'
PACKAGE_VERSION='2.51'
PACKAGE_STRING='pgBackRest 2.51'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
@ -1272,7 +1272,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures pgBackRest 2.51dev to adapt to many kinds of systems.
\`configure' configures pgBackRest 2.51 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@ -1319,7 +1319,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of pgBackRest 2.51dev:";;
short | recursive ) echo "Configuration of pgBackRest 2.51:";;
esac
cat <<\_ACEOF
@ -1414,7 +1414,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
pgBackRest configure 2.51dev
pgBackRest configure 2.51
generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc.
@ -1570,7 +1570,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by pgBackRest $as_me 2.51dev, which was
It was created by pgBackRest $as_me 2.51, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw
@ -4982,7 +4982,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by pgBackRest $as_me 2.51dev, which was
This file was extended by pgBackRest $as_me 2.51, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@ -5046,7 +5046,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
pgBackRest config.status 2.51dev
pgBackRest config.status 2.51
configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\"
@ -5750,4 +5750,4 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
# Generated from src/build/configure.ac sha1 e9fe59c2eda5217a0f6476af90083fafb8b24f94
# Generated from src/build/configure.ac sha1 c8b97ed2dea966338839796abf8d1f738febe4fc

View File

@ -33,6 +33,6 @@ will be invalid unless migration functions are written.
/***********************************************************************************************************************************
Software version
***********************************************************************************************************************************/
#define PROJECT_VERSION "2.51dev"
#define PROJECT_VERSION "2.51"
#endif

View File

@ -27,6 +27,14 @@ doc/lib/pgBackRestDoc/Common/Exception.pm:
class: doc/core
type: perl
doc/lib/pgBackRestDoc/Common/Host.pm:
class: doc/core
type: perl
doc/lib/pgBackRestDoc/Common/HostGroup.pm:
class: doc/core
type: perl
doc/lib/pgBackRestDoc/Common/Ini.pm:
class: doc/core
type: perl
@ -115,6 +123,14 @@ doc/src/command/build/build.h:
class: doc/core
type: c/h
doc/src/command/build/man.c:
class: doc/core
type: c
doc/src/command/build/man.h:
class: doc/core
type: c/h
doc/src/command/build/reference.c:
class: doc/core
type: c
@ -647,6 +663,14 @@ src/build/aclocal.m4:
class: build
type: make
src/build/common/exec.c:
class: build
type: c
src/build/common/exec.h:
class: build
type: c/h
src/build/common/regExp.c:
class: build
type: c
@ -987,6 +1011,10 @@ src/command/expire/expire.h:
class: core
type: c/h
src/command/help/help.auto.c.inc:
class: core/auto
type: c
src/command/help/help.c:
class: core
type: c
@ -2059,6 +2087,10 @@ src/postgres/client.h:
class: core
type: c/h
src/postgres/interface.auto.c.inc:
class: core/auto
type: c
src/postgres/interface.c:
class: core
type: c
@ -2483,18 +2515,6 @@ test/lib/pgBackRestTest/Common/ExecuteTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/FileTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/HostGroupTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/HostTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/Io/Base.pm:
class: test/harness
type: perl
@ -2523,10 +2543,6 @@ test/lib/pgBackRestTest/Common/ListTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/RunTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/Storage.pm:
class: test/harness
type: perl
@ -2547,10 +2563,6 @@ test/lib/pgBackRestTest/Common/StoragePosixWrite.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/StorageRepo.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Common/VmTest.pm:
class: test/harness
type: perl
@ -2559,94 +2571,6 @@ test/lib/pgBackRestTest/Common/Wait.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/ArchiveInfo.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/BackupInfo.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/ExpireEnvTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/Host/HostAzureTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/Host/HostBackupTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/Host/HostBaseTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/Host/HostDbCommonTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/Host/HostDbSyntheticTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/Host/HostDbTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/Host/HostGcsTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/Host/HostS3Test.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/Host/HostSftpTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/HostEnvTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/InfoCommon.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Env/Manifest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Module/Mock/MockAllTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Mock/MockArchiveStopTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Mock/MockArchiveTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Mock/MockExpireTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Mock/MockStanzaTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Performance/PerformanceArchivePerlTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Real/RealAllTest.pm:
class: test/module
type: perl
test/src/build/config/config.yaml:
class: test/harness
type: yaml
@ -2739,6 +2663,14 @@ test/src/common/harnessFork.h:
class: test/harness
type: c/h
test/src/common/harnessHost.c:
class: test/harness
type: c
test/src/common/harnessHost.h:
class: test/harness
type: c/h
test/src/common/harnessInfo.c:
class: test/harness
type: c
@ -3215,6 +3147,10 @@ test/src/module/info/manifestTest.c:
class: test/module
type: c
test/src/module/integration/allTest.c:
class: test/module
type: c
test/src/module/performance/storageTest.c:
class: test/module
type: c