mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-03-03 14:52:21 +02:00
Remove duplicated hint.
At some point this hint got added to the underlying code so it is no longer needed here.
This commit is contained in:
parent
ff9c1bed5d
commit
e4cc008b98
@ -36,7 +36,6 @@ my $strHintForce = "\nHINT: use stanza-create --force to force the stanza data t
|
|||||||
my $strInfoMissing = " information missing";
|
my $strInfoMissing = " information missing";
|
||||||
my $strStanzaCreateErrorMsg = "not empty";
|
my $strStanzaCreateErrorMsg = "not empty";
|
||||||
my $strRepoEncryptedMsg = " and repo is encrypted and info file(s) are missing, --force cannot be used";
|
my $strRepoEncryptedMsg = " and repo is encrypted and info file(s) are missing, --force cannot be used";
|
||||||
my $strHintStanzaCreate = "\nHINT: has a stanza-create been performed?";
|
|
||||||
|
|
||||||
####################################################################################################################################
|
####################################################################################################################################
|
||||||
# CONSTRUCTOR
|
# CONSTRUCTOR
|
||||||
@ -592,8 +591,7 @@ sub infoObject
|
|||||||
{
|
{
|
||||||
if ($iResult == ERROR_FILE_MISSING)
|
if ($iResult == ERROR_FILE_MISSING)
|
||||||
{
|
{
|
||||||
confess &log(ERROR, cfgOptionValid(CFGOPT_FORCE) ? $strResultMessage . $strHintForce :
|
confess &log(ERROR, cfgOptionValid(CFGOPT_FORCE) ? $strResultMessage . $strHintForce : $strResultMessage, $iResult);
|
||||||
$strResultMessage . $strHintStanzaCreate, $iResult);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -15173,7 +15173,6 @@ static const EmbeddedModule embeddedModule[] =
|
|||||||
"my $strInfoMissing = \" information missing\";\n"
|
"my $strInfoMissing = \" information missing\";\n"
|
||||||
"my $strStanzaCreateErrorMsg = \"not empty\";\n"
|
"my $strStanzaCreateErrorMsg = \"not empty\";\n"
|
||||||
"my $strRepoEncryptedMsg = \" and repo is encrypted and info file(s) are missing, --force cannot be used\";\n"
|
"my $strRepoEncryptedMsg = \" and repo is encrypted and info file(s) are missing, --force cannot be used\";\n"
|
||||||
"my $strHintStanzaCreate = \"\\nHINT: has a stanza-create been performed?\";\n"
|
|
||||||
"\n\n\n\n"
|
"\n\n\n\n"
|
||||||
"sub new\n"
|
"sub new\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
@ -15622,8 +15621,7 @@ static const EmbeddedModule embeddedModule[] =
|
|||||||
"{\n"
|
"{\n"
|
||||||
"if ($iResult == ERROR_FILE_MISSING)\n"
|
"if ($iResult == ERROR_FILE_MISSING)\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
"confess &log(ERROR, cfgOptionValid(CFGOPT_FORCE) ? $strResultMessage . $strHintForce :\n"
|
"confess &log(ERROR, cfgOptionValid(CFGOPT_FORCE) ? $strResultMessage . $strHintForce : $strResultMessage, $iResult);\n"
|
||||||
"$strResultMessage . $strHintStanzaCreate, $iResult);\n"
|
|
||||||
"}\n"
|
"}\n"
|
||||||
"else\n"
|
"else\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
|
@ -16,7 +16,6 @@ P00 ERROR: [055]: archive.info does not exist but is required to push/get WAL s
|
|||||||
HINT: is archive_command configured in postgresql.conf?
|
HINT: is archive_command configured in postgresql.conf?
|
||||||
HINT: has a stanza-create been performed?
|
HINT: has a stanza-create been performed?
|
||||||
HINT: use --no-archive-check to disable archive checks during backup if you have an alternate archiving scheme.
|
HINT: use --no-archive-check to disable archive checks during backup if you have an alternate archiving scheme.
|
||||||
HINT: has a stanza-create been performed?
|
|
||||||
P00 INFO: stanza-upgrade command end: aborted with exception [055]
|
P00 INFO: stanza-upgrade command end: aborted with exception [055]
|
||||||
|
|
||||||
stanza-create db - successfully create the stanza (db-master host)
|
stanza-create db - successfully create the stanza (db-master host)
|
||||||
|
@ -16,7 +16,6 @@ P00 ERROR: [055]: archive.info does not exist but is required to push/get WAL s
|
|||||||
HINT: is archive_command configured in postgresql.conf?
|
HINT: is archive_command configured in postgresql.conf?
|
||||||
HINT: has a stanza-create been performed?
|
HINT: has a stanza-create been performed?
|
||||||
HINT: use --no-archive-check to disable archive checks during backup if you have an alternate archiving scheme.
|
HINT: use --no-archive-check to disable archive checks during backup if you have an alternate archiving scheme.
|
||||||
HINT: has a stanza-create been performed?
|
|
||||||
P00 INFO: stanza-upgrade command end: aborted with exception [055]
|
P00 INFO: stanza-upgrade command end: aborted with exception [055]
|
||||||
|
|
||||||
stanza-create db - successfully create the stanza (backup host)
|
stanza-create db - successfully create the stanza (backup host)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user