diff --git a/README.md b/README.md index 0ab0e7a..dd41cdf 100644 --- a/README.md +++ b/README.md @@ -21,3 +21,4 @@ The database schema is defined in the [migration.sql](migration.sql) file. For new database installations start with the [init-database.sql](init-database.sql) file. Required is a PostgreSQL database (tested version 15). +(optional) Create tablespaces following the naming convention (see postgres.rs and [init-database.sql](init-database.sql)). diff --git a/src/main.rs b/src/main.rs index f550b85..0a84919 100644 --- a/src/main.rs +++ b/src/main.rs @@ -302,6 +302,7 @@ async fn start_tracking_blocks( let atl_store = atl_store.clone(); tokio::spawn(async move { + info!("spawn task"); // to support address lookup tables delay processing a littlebit tokio::time::sleep(Duration::from_secs(2)).await; let block_info = BlockInfo::new(atl_store, &block).await; diff --git a/src/postgres.rs b/src/postgres.rs index cfa917e..ac392eb 100644 --- a/src/postgres.rs +++ b/src/postgres.rs @@ -194,7 +194,7 @@ impl PostgresSession { .await .unwrap(); - // space1,space2,space3 + // space1, space2, space3 let temp_spaces = spaces.iter() .map(|space| space.get::<&str, &str>("spcname")) .join(","); @@ -212,7 +212,7 @@ impl PostgresSession { .await .unwrap() .get("temp_tablespaces"); - info!("Configured temp_tablespaces={}", temp_tablespaces); + info!("Parameter temp_tablespaces={}", temp_tablespaces); } pub async fn drop_temp_table(&self, table: String) -> anyhow::Result<()> {