diff --git a/doc/xml/release.xml b/doc/xml/release.xml index cdb649962..4fedeb6ba 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -14,6 +14,16 @@ + + + + + + +

Fix check for improperly configured pg-path.

+
+
+

JSON improvements. Optimize parser implementation. Make the renderer more null tolerant.

@@ -6301,6 +6311,11 @@ Edib + + James Chanco Jr + jameschancojr + + Jan Wieck wieck diff --git a/lib/pgBackRest/Db.pm b/lib/pgBackRest/Db.pm index c74cbac73..273492280 100644 --- a/lib/pgBackRest/Db.pm +++ b/lib/pgBackRest/Db.pm @@ -573,7 +573,7 @@ sub versionGet } # Get version and pg-path from - (my $strVersionNum, $self->{strDbPath}) = + my ($strVersionNum, $strDbPath) = $self->executeSqlRow( "select (select setting from pg_settings where name = 'server_version_num'), " . " (select setting from pg_settings where name = 'data_directory')"); @@ -600,7 +600,7 @@ sub versionGet ( $strOperation, {name => 'strDbVersion', value => $self->{strDbVersion}}, - {name => 'strDbPath', value => $self->{strDbPath}} + {name => 'strDbPath', value => $strDbPath} ); } diff --git a/src/perl/embed.auto.c b/src/perl/embed.auto.c index 68625aef3..74f6e5330 100644 --- a/src/perl/embed.auto.c +++ b/src/perl/embed.auto.c @@ -9349,7 +9349,7 @@ static const EmbeddedModule embeddedModule[] = "return $self->{strDbVersion}, $self->{strDbPath};\n" "}\n" "\n\n" - "(my $strVersionNum, $self->{strDbPath}) =\n" + "my ($strVersionNum, $strDbPath) =\n" "$self->executeSqlRow(\n" "\"select (select setting from pg_settings where name = 'server_version_num'), \" .\n" "\" (select setting from pg_settings where name = 'data_directory')\");\n" @@ -9372,7 +9372,7 @@ static const EmbeddedModule embeddedModule[] = "(\n" "$strOperation,\n" "{name => 'strDbVersion', value => $self->{strDbVersion}},\n" - "{name => 'strDbPath', value => $self->{strDbPath}}\n" + "{name => 'strDbPath', value => $strDbPath}\n" ");\n" "}\n" "\n\n\n\n"