We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd5226c commit 4a5a9efCopy full SHA for 4a5a9ef
src/restore.c
@@ -871,7 +871,8 @@ create_recovery_conf(time_t backup_id,
871
char restore_command_guc[16384];
872
873
/* If restore_command is provided, use it */
874
- if (instance_config.restore_command)
+ if (instance_config.restore_command &&
875
+ (pg_strcasecmp(instance_config.restore_command, "none") != 0))
876
sprintf(restore_command_guc, "%s", instance_config.restore_command);
877
else
878
{
0 commit comments