LightRAG/lightrag/kg
BukeLy b29f32b513 fix: correct PostgreSQL migration parameter passing
Why this change is needed:
PostgreSQLDB.execute() expects data as a dictionary, not multiple
positional arguments. The migration code was incorrectly unpacking
a list with *values, causing TypeError.

How it solves it:
- Changed values from list to dict: {col: row_dict[col] for col in columns}
- Pass values dict directly to execute() without unpacking
- Matches execute() signature which expects dict[str, Any] | None

Impact:
- Fixes PostgreSQL E2E test failures
- Enables successful legacy data migration for PostgreSQL

Testing:
- Will be verified by PostgreSQL E2E tests in CI
2025-11-20 03:12:18 +08:00
..
deprecated Preserve ordering in get_by_ids methods across all storage implementations 2025-10-11 12:37:59 +08:00
__init__.py Improve storage config validation and add config.ini fallback support 2025-11-08 22:48:49 +08:00
faiss_impl.py Remove final_namespace attribute for in-memory storage and use namespace in clean_llm_query_cache.py 2025-11-17 12:54:33 +08:00
json_doc_status_impl.py Remove final_namespace attribute for in-memory storage and use namespace in clean_llm_query_cache.py 2025-11-17 12:54:33 +08:00
json_kv_impl.py Remove final_namespace attribute for in-memory storage and use namespace in clean_llm_query_cache.py 2025-11-17 12:54:33 +08:00
memgraph_impl.py Refactor workspace handling to use default workspace and namespace locks 2025-11-17 12:54:33 +08:00
milvus_impl.py Standardize empty workspace handling from "_" to "" across storage 2025-11-17 12:54:33 +08:00
mongo_impl.py Standardize empty workspace handling from "_" to "" across storage 2025-11-17 12:54:33 +08:00
nano_vector_db_impl.py Standardize empty workspace handling from "_" to "" across storage 2025-11-17 12:54:33 +08:00
neo4j_impl.py Refactor workspace handling to use default workspace and namespace locks 2025-11-17 12:54:33 +08:00
networkx_impl.py Remove final_namespace attribute for in-memory storage and use namespace in clean_llm_query_cache.py 2025-11-17 12:54:33 +08:00
postgres_impl.py fix: correct PostgreSQL migration parameter passing 2025-11-20 03:12:18 +08:00
qdrant_impl.py style: Apply ruff-format to qdrant_impl.py 2025-11-20 02:43:59 +08:00
redis_impl.py Standardize empty workspace handling from "_" to "" across storage 2025-11-17 12:54:33 +08:00
shared_storage.py style: fix lint errors (trailing whitespace and formatting) 2025-11-20 01:41:23 +08:00