File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
examples/portal_corp_extension/src Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ use tracing::info;
99
1010use 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) ]
123121mod test {
124122 use super :: * ;
You can’t perform that action at this time.
0 commit comments