cognee/cognee/infrastructure/databases
Igor Ilic 4f354ba534
fix: reuse PostgreSQL database connections (#574)
<!-- .github/pull_request_template.md -->

## Description
Fix PostgreSQL database connection problems

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Refactor**
- Improved the system’s database connection process to enhance
compatibility across multiple relational databases. The application now
dynamically selects the optimal connection method—reusing established
connections when possible—to ensure improved stability and performance
without affecting the public interface.
- Streamlined the creation of the embedding engine by removing it as a
parameter and generating it internally.
- Removed dependency on the embedding engine in the vector engine
retrieval process.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-02-24 20:35:40 +01:00
..
exceptions feat: quick fix dynamic collection handling in search (#567) [COG-1369] 2025-02-21 13:45:42 +01:00
graph fix: notebooks errors (#565) 2025-02-19 14:07:11 -08:00
hybrid/falkordb fix: support structured data conversion to data points (#512) 2025-02-10 17:16:13 +01:00
relational fix: custom model pipeline (#508) 2025-02-08 02:00:15 +01:00
vector fix: reuse PostgreSQL database connections (#574) 2025-02-24 20:35:40 +01:00
__init__.py