mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2024-12-01 09:51:43 +02:00
commit
51cc7454ab
@ -22,7 +22,7 @@ results/init/backup/pg_probackup.conf
|
|||||||
results/init/backup/wal/
|
results/init/backup/wal/
|
||||||
###### INIT COMMAND TEST-0004 ######
|
###### INIT COMMAND TEST-0004 ######
|
||||||
###### failure with backup catalog already existed ######
|
###### failure with backup catalog already existed ######
|
||||||
ERROR: backup catalog already exist. and it's not empty
|
ERROR: backup catalog already exist and it's not empty
|
||||||
1
|
1
|
||||||
|
|
||||||
###### INIT COMMAND TEST-0005 ######
|
###### INIT COMMAND TEST-0005 ######
|
||||||
|
2
init.c
2
init.c
@ -42,7 +42,7 @@ do_init(void)
|
|||||||
{
|
{
|
||||||
results = scandir(backup_path, &dp, selects, NULL);
|
results = scandir(backup_path, &dp, selects, NULL);
|
||||||
if (results != 0)
|
if (results != 0)
|
||||||
elog(ERROR, "backup catalog already exist. and it's not empty");
|
elog(ERROR, "backup catalog already exist and it's not empty");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* create backup catalog root directory */
|
/* create backup catalog root directory */
|
||||||
|
Loading…
Reference in New Issue
Block a user