fix: minor changes from PR comments

This commit is contained in:
Andrej Milicevic 2026-01-16 12:59:28 +01:00
parent c6ff0eca3d
commit 8030c949f2
3 changed files with 3 additions and 3 deletions

View file

@ -149,7 +149,7 @@ jobs:
VECTOR_DB_PORT: 5432
VECTOR_DB_USERNAME: cognee
VECTOR_DB_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
VECTOR_DATASET_DATABASE_HANDLER: pgvector
VECTOR_DATASET_DATABASE_HANDLER: pgvector_local
run: uv run python ./cognee/tests/test_permissions.py
run-lancedb-tests:

View file

@ -559,7 +559,7 @@ class SQLAlchemyAdapter:
# Connect to maintenance db in order to create new database
# Make sure to execute CREATE DATABASE outside of transaction block, and set AUTOCOMMIT isolation level
connection = await self.maintenance_engine.connect()
await connection.execution_options(isolation_level="AUTOCOMMIT")
connection = await connection.execution_options(isolation_level="AUTOCOMMIT")
await connection.execute(text(f'CREATE DATABASE "{self.engine.url.database}";'))
# Clean up resources

View file

@ -33,7 +33,7 @@ class PGVectorDatasetDatabaseHandler(DatasetDatabaseHandlerInterface):
"username": vector_config.vector_db_username,
"password": vector_config.vector_db_password,
},
"vector_dataset_database_handler": "pgvector",
"vector_dataset_database_handler": "pgvector_local",
}
from .create_db_and_tables import create_pg_database