1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-05-22 10:15:16 +02:00

Fix instances where database-id was not rendered as an integer in JSON info output.

Fixed by Cynthia Shang.
Reported by Jason O'Donnell.
This commit is contained in:
Cynthia Shang
2017-10-18 08:42:32 -04:00
committed by David Steele
parent b1efd598cf
commit 2d56de00fc
8 changed files with 35 additions and 26 deletions
+4 -4
View File
@@ -3680,7 +3680,7 @@ info db stanza - normal output (db-master host)
"archive" : [
{
"database" : {
"id" : "1"
"id" : 1
},
"id" : "9.4-1",
"max" : null,
@@ -3939,7 +3939,7 @@ info db stanza - normal output (db-master host)
],
"db" : [
{
"id" : "1",
"id" : 1,
"system-id" : 6353949018581704918,
"version" : "9.4"
}
@@ -4298,7 +4298,7 @@ info all stanzas - normal output (db-master host)
"archive" : [
{
"database" : {
"id" : "1"
"id" : 1
},
"id" : "9.4-1",
"max" : null,
@@ -4369,7 +4369,7 @@ info all stanzas - normal output (db-master host)
],
"db" : [
{
"id" : "1",
"id" : 1,
"system-id" : 6353949018581704918,
"version" : "9.4"
}
+4 -4
View File
@@ -3915,7 +3915,7 @@ info db stanza - normal output (backup host)
"archive" : [
{
"database" : {
"id" : "1"
"id" : 1
},
"id" : "9.4-1",
"max" : null,
@@ -4174,7 +4174,7 @@ info db stanza - normal output (backup host)
],
"db" : [
{
"id" : "1",
"id" : 1,
"system-id" : 6353949018581704918,
"version" : "9.4"
}
@@ -4549,7 +4549,7 @@ info all stanzas - normal output (db-master host)
"archive" : [
{
"database" : {
"id" : "1"
"id" : 1
},
"id" : "9.4-1",
"max" : null,
@@ -4620,7 +4620,7 @@ info all stanzas - normal output (db-master host)
],
"db" : [
{
"id" : "1",
"id" : 1,
"system-id" : 6353949018581704918,
"version" : "9.4"
}
+4 -4
View File
@@ -2374,7 +2374,7 @@ info db stanza - normal output (backup host)
"archive" : [
{
"database" : {
"id" : "1"
"id" : 1
},
"id" : "9.4-1",
"max" : null,
@@ -2633,7 +2633,7 @@ info db stanza - normal output (backup host)
],
"db" : [
{
"id" : "1",
"id" : 1,
"system-id" : 6353949018581704918,
"version" : "9.4"
}
@@ -2898,7 +2898,7 @@ info all stanzas - normal output (db-master host)
"archive" : [
{
"database" : {
"id" : "1"
"id" : 1
},
"id" : "9.4-1",
"max" : null,
@@ -2969,7 +2969,7 @@ info all stanzas - normal output (db-master host)
],
"db" : [
{
"id" : "1",
"id" : 1,
"system-id" : 6353949018581704918,
"version" : "9.4"
}
+4 -4
View File
@@ -847,7 +847,7 @@ info all stanzas - db upgraded - db-1 and db-2 listed (db-master host)
"archive" : [
{
"database" : {
"id" : "1"
"id" : 1
},
"id" : "9.4-2",
"max" : "000000010000000100000001",
@@ -855,7 +855,7 @@ info all stanzas - db upgraded - db-1 and db-2 listed (db-master host)
},
{
"database" : {
"id" : "2"
"id" : 2
},
"id" : "9.5-4",
"max" : "000000010000000100000001",
@@ -924,12 +924,12 @@ info all stanzas - db upgraded - db-1 and db-2 listed (db-master host)
],
"db" : [
{
"id" : "1",
"id" : 1,
"system-id" : 6353949018581704918,
"version" : "9.4"
},
{
"id" : "2",
"id" : 2,
"system-id" : 6392579261579036436,
"version" : "9.5"
}
+4 -4
View File
@@ -889,7 +889,7 @@ info all stanzas - db upgraded - db-1 and db-2 listed (db-master host)
"archive" : [
{
"database" : {
"id" : "1"
"id" : 1
},
"id" : "9.4-2",
"max" : "000000010000000100000001",
@@ -897,7 +897,7 @@ info all stanzas - db upgraded - db-1 and db-2 listed (db-master host)
},
{
"database" : {
"id" : "2"
"id" : 2
},
"id" : "9.5-4",
"max" : "000000010000000100000001",
@@ -966,12 +966,12 @@ info all stanzas - db upgraded - db-1 and db-2 listed (db-master host)
],
"db" : [
{
"id" : "1",
"id" : 1,
"system-id" : 6353949018581704918,
"version" : "9.4"
},
{
"id" : "2",
"id" : 2,
"system-id" : 6392579261579036436,
"version" : "9.5"
}
+4 -4
View File
@@ -832,7 +832,7 @@ info all stanzas - db upgraded - db-1 and db-2 listed (db-master host)
"archive" : [
{
"database" : {
"id" : "1"
"id" : 1
},
"id" : "9.4-2",
"max" : "000000010000000100000001",
@@ -840,7 +840,7 @@ info all stanzas - db upgraded - db-1 and db-2 listed (db-master host)
},
{
"database" : {
"id" : "2"
"id" : 2
},
"id" : "9.5-4",
"max" : "000000010000000100000001",
@@ -909,12 +909,12 @@ info all stanzas - db upgraded - db-1 and db-2 listed (db-master host)
],
"db" : [
{
"id" : "1",
"id" : 1,
"system-id" : 6353949018581704918,
"version" : "9.4"
},
{
"id" : "2",
"id" : 2,
"system-id" : 6392579261579036436,
"version" : "9.5"
}