Move new log output to inside the dryrun block
This commit is contained in:
parent
f10a41c4e1
commit
5affda20ea
@ -1704,9 +1704,11 @@ repack_table_indexes(PGresult *index_details)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
elog(INFO, "repacking index \"%s\".\"index_%u\"", schema_name, index);
|
|
||||||
if (dryrun)
|
if (dryrun)
|
||||||
|
{
|
||||||
|
elog(INFO, "repacking index \"%s\".\"index_%u\"", schema_name, index);
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
params[0] = utoa(index, buffer[0]);
|
params[0] = utoa(index, buffer[0]);
|
||||||
res = execute("SELECT repack.repack_indexdef($1, $2, $3, true)", 3,
|
res = execute("SELECT repack.repack_indexdef($1, $2, $3, true)", 3,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user