# HG changeset patch # User Alain Mazy # Date 1733328521 -3600 # Node ID 2fd6be965fcc1889dba620ffa7f8d2b18460e700 # Parent cda99cc968436a372279bcba68741944939618a1 fix schema check in readonly diff -r cda99cc96843 -r 2fd6be965fcc PostgreSQL/Plugins/PostgreSQLIndex.cpp --- a/PostgreSQL/Plugins/PostgreSQLIndex.cpp Thu Nov 28 12:42:36 2024 +0100 +++ b/PostgreSQL/Plugins/PostgreSQLIndex.cpp Wed Dec 04 17:08:41 2024 +0100 @@ -248,7 +248,7 @@ // test if the latest "extension" has been installed int revision; if (!LookupGlobalIntegerProperty(revision, manager, MISSING_SERVER_IDENTIFIER, Orthanc::GlobalProperty_DatabasePatchLevel) - || revision != 2) + || revision != 3) { LOG(ERROR) << "READ-ONLY SYSTEM: the DB does not have the correct schema to run with this version of the plugin"; throw Orthanc::OrthancException(Orthanc::ErrorCode_Database);