Skip to content

Commit 5cdd8c7

Browse files
committed
Modify check for bucket index warning
Do not print a warning that you don't have a bucket index if --with-forward-dependencies=false is used.
1 parent 23a4fff commit 5cdd8c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/middle-pgsql.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,8 @@ middle_pgsql_t::middle_pgsql_t(options_t const *options)
760760
bool const has_bucket_index =
761761
check_bucket_index(&m_db_connection, options->prefix);
762762

763-
if (!has_bucket_index && options->append) {
763+
if (!has_bucket_index && options->append &&
764+
options->with_forward_dependencies) {
764765
log_warn("You don't have a bucket index. See manual for details.");
765766
}
766767

0 commit comments

Comments
 (0)