# HG changeset patch # User Alain Mazy # Date 1735897582 -3600 # Node ID 78ed0f5389cc6d0d5b1104849b3aa750bd070062 # Parent 813f3633bea1469a25ad97b17cf12ac68dfc5ac9 Disable DB Housekeeping thread on ReadOnly systems diff -r 813f3633bea1 -r 78ed0f5389cc PostgreSQL/NEWS --- a/PostgreSQL/NEWS Thu Dec 19 11:59:35 2024 +0100 +++ b/PostgreSQL/NEWS Fri Jan 03 10:46:22 2025 +0100 @@ -1,3 +1,19 @@ +Pending changes in the mainline +=============================== + +DB schema revision: 3 +Minimum plugin SDK (for build): 1.12.5+ +Optimal plugin SDK (for build): 1.12.5+ +Minimum Orthanc runtime: 1.12.5+ +Optimal Orthanc runtime: 1.12.5+ + +Minimal Postgresql Server version: 9 +Optimal Postgresql Server version: 11+ + + +* Disable DB Housekeeping thread on ReadOnly systems. + + Release 7.0 (2024-12-18) ======================== diff -r 813f3633bea1 -r 78ed0f5389cc PostgreSQL/Plugins/PostgreSQLIndex.cpp --- a/PostgreSQL/Plugins/PostgreSQLIndex.cpp Thu Dec 19 11:59:35 2024 +0100 +++ b/PostgreSQL/Plugins/PostgreSQLIndex.cpp Fri Jan 03 10:46:22 2025 +0100 @@ -737,7 +737,7 @@ bool PostgreSQLIndex::HasPerformDbHousekeeping() { - return true; + return !IsReadOnly(); // Don't start HK on ReadOnly databases ! } void PostgreSQLIndex::PerformDbHousekeeping(DatabaseManager& manager)