1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-11-29 22:28:02 +02:00

The check command is implemented partly in C.

Implement switch WAL and archive check in C but leave the rest in Perl for now.

The main idea was to have some real integration tests for the new database code so the rest of the migration can wait.

Reviewed by Cynthia Shang.
This commit is contained in:
David Steele
2019-08-01 20:35:01 -04:00
parent e4901d50d5
commit 3d3003e9ca
11 changed files with 248 additions and 145 deletions

View File

@@ -59,6 +59,14 @@
<p>The <cmd>local</cmd> command for <cmd>backup</cmd> is implemented entirely in C.</p>
</release-item>
<release-item>
<release-item-contributor-list>
<release-item-reviewer id="cynthia.shang"/>
</release-item-contributor-list>
<p>The <cmd>check</cmd> command is implemented partly in C.</p>
</release-item>
</release-improvement-list>
<release-development-list>

View File

@@ -1089,7 +1089,7 @@
<execute user="postgres" output="y">
<exe-cmd>{[project-exe]} {[dash]}-stanza={[postgres-cluster-demo]} {[dash]}-log-level-console=info check</exe-cmd>
<exe-highlight> successfully stored in the archive at </exe-highlight>
<exe-highlight> successfully archived to </exe-highlight>
</execute>
</execute-list>
@@ -2756,7 +2756,7 @@
<execute user="postgres" output="y">
<exe-cmd>{[project-exe]} {[dash]}-stanza={[postgres-cluster-demo]} {[dash]}-log-level-console=info check</exe-cmd>
<exe-highlight>all other checks passed</exe-highlight>
<exe-highlight>because no primary was found</exe-highlight>
</execute>
</execute-list>
</section>