@@ -88,14 +88,14 @@ void middle_query_pgsql_t::exec_sql(std::string const &sql_cmd) const
8888void middle_pgsql_t::table_desc::stop (std::string const &conninfo,
8989 bool droptemp, bool build_indexes)
9090{
91- log_info (" Stopping table: {}" , name ());
9291 util::timer_t timer;
9392
9493 // Use a temporary connection here because we might run in a separate
9594 // thread context.
9695 pg_conn_t sql_conn{conninfo};
9796
9897 if (droptemp) {
98+ log_info (" Dropping table: {}" , name ());
9999 auto const qual_name = qualified_name (
100100 m_copy_target->schema , m_copy_target->name );
101101 sql_conn.exec (" DROP TABLE IF EXISTS {}" _format (qual_name));
@@ -104,7 +104,7 @@ void middle_pgsql_t::table_desc::stop(std::string const &conninfo,
104104 sql_conn.exec (m_create_fw_dep_indexes);
105105 }
106106
107- log_info (" Stopped table: {} in {}" , name (),
107+ log_info (" Done postprocessing table: {} in {}" , name (),
108108 util::human_readable_duration (timer.stop ()));
109109}
110110
@@ -575,7 +575,7 @@ void middle_pgsql_t::start()
575575 // (Re)create tables.
576576 m_db_connection.exec (" SET client_min_messages = WARNING" );
577577 for (auto const &table : m_tables) {
578- log_info (" Setting up table: {}" , table.name ());
578+ log_debug (" Setting up table: {}" , table.name ());
579579 auto const qual_name = qualified_name (
580580 table.m_copy_target ->schema , table.m_copy_target ->name );
581581 m_db_connection.exec (
@@ -755,7 +755,7 @@ middle_pgsql_t::middle_pgsql_t(options_t const *options)
755755 m_persistent_cache.reset (new node_persistent_cache{options, m_cache});
756756 }
757757
758- log_info (" Mid: pgsql, cache={}" , options->cache );
758+ log_debug (" Mid: pgsql, cache={}" , options->cache );
759759
760760 bool const has_bucket_index =
761761 check_bucket_index (&m_db_connection, options->prefix );
0 commit comments