diff --git a/lightrag/kg/postgres_impl.py b/lightrag/kg/postgres_impl.py index 37b39b49..8fc9d590 100644 --- a/lightrag/kg/postgres_impl.py +++ b/lightrag/kg/postgres_impl.py @@ -161,6 +161,7 @@ class PostgreSQLDB: "port": self.port, "min_size": 1, "max_size": self.max, + "statement_cache_size": 0, } # Add SSL configuration if provided