1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-04-08 16:54:08 +02:00

add elog message about external directories

This commit is contained in:
Grigory Smolkin 2019-04-23 19:46:08 +03:00
parent 6ad66cca0c
commit f6e1bcdb28

View File

@ -1243,10 +1243,8 @@ check_tablespace_mapping(pgBackup *backup)
/* Sort links by the path of a linked file*/
parray_qsort(links, pgFileCompareLinked);
if (logger_config.log_level_console <= LOG ||
logger_config.log_level_file <= LOG)
elog(LOG, "check tablespace directories of backup %s",
base36enc(backup->start_time));
elog(LOG, "check tablespace directories of backup %s",
base36enc(backup->start_time));
/* 1 - each OLDDIR must have an entry in tablespace_map file (links) */
for (cell = tablespace_dirs.head; cell; cell = cell->next)
@ -1294,6 +1292,9 @@ check_external_dir_mapping(pgBackup *backup)
parray *external_dirs_to_restore;
int i;
elog(LOG, "check external directories of backup %s",
base36enc(backup->start_time));
if (!backup->external_dir_str)
{
if (external_remap_list.head)