Skip to content

Commit

Permalink
more madsim fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel committed Nov 26, 2024
1 parent 6f93bb0 commit dc7f788
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/connector/src/connector_common/postgres.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ use thiserror_ext::AsReport;
use tokio_postgres::types::Kind as PgKind;
use tokio_postgres::{Client as PgClient, NoTls};

#[cfg(not(madsim))]
use super::maybe_tls_connector::MaybeMakeTlsConnector;
use crate::error::ConnectorResult;

Expand Down
1 change: 0 additions & 1 deletion src/connector/src/source/cdc/external/postgres.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ use serde_derive::{Deserialize, Serialize};
use tokio_postgres::types::PgLsn;

use crate::connector_common::create_pg_client;
#[cfg(not(madsim))]
use crate::error::{ConnectorError, ConnectorResult};
use crate::parser::postgres_row_to_owned_row;
use crate::parser::scalar_adapter::ScalarAdapter;
Expand Down

0 comments on commit dc7f788

Please sign in to comment.