Skip to content

Commit d69f829

Browse files
committed
test: enable portal corp test for all platforms
1 parent 148b5f3 commit d69f829

File tree

1 file changed

+1
-3
lines changed
  • examples/portal_corp_extension/src

1 file changed

+1
-3
lines changed

examples/portal_corp_extension/src/main.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use tracing::info;
99

1010
use postgresql_embedded::{PostgreSQL, Settings, VersionReq};
1111

12-
/// Example of how to install and configure the portal corp pgvector extension.
12+
/// Example of how to install and configure the PortalCorp pgvector extension.
1313
///
1414
/// See: <https://github.com/pgvector/pgvector?tab=readme-ov-file#getting-started>
1515
#[tokio::main]
@@ -44,7 +44,6 @@ async fn main() -> Result<()> {
4444
let settings = postgresql.settings();
4545
let database_url = settings.url(database_name);
4646
let pool = PgPool::connect(database_url.as_str()).await?;
47-
// configure_extension(&pool).await?;
4847
pool.close().await;
4948

5049
info!("Restarting database");
@@ -118,7 +117,6 @@ async fn execute_query(pool: &PgPool, query: &str) -> Result<()> {
118117
Ok(())
119118
}
120119

121-
#[cfg(target_os = "linux")]
122120
#[cfg(test)]
123121
mod test {
124122
use super::*;

0 commit comments

Comments
 (0)