changeset 471:19d40a152e49 OrthancPostgreSQL-6.0

OrthancPostgreSQL-6.0
author Alain Mazy <am@osimis.io>
date Thu, 08 Feb 2024 16:17:13 +0100
parents 11c6bcc9d1f2
children d1e1cb3ab741 9722e408d817
files PostgreSQL/CMakeLists.txt PostgreSQL/NEWS
diffstat 2 files changed, 11 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/PostgreSQL/CMakeLists.txt	Mon Feb 05 18:26:37 2024 +0100
+++ b/PostgreSQL/CMakeLists.txt	Thu Feb 08 16:17:13 2024 +0100
@@ -21,7 +21,7 @@
 cmake_minimum_required(VERSION 2.8)
 project(OrthancPostgreSQL)
 
-set(ORTHANC_PLUGIN_VERSION "mainline")
+set(ORTHANC_PLUGIN_VERSION "6.0")
 
 set(ORTHANC_SDK_DEFAULT_VERSION "1.12.3")
 
--- a/PostgreSQL/NEWS	Mon Feb 05 18:26:37 2024 +0100
+++ b/PostgreSQL/NEWS	Thu Feb 08 16:17:13 2024 +0100
@@ -1,22 +1,26 @@
-Pending changes in the mainline
-===============================
+Release 6.0 (2024-02-08)
+========================
+
+DB schema revision: 2
 
+* The DB schema has been updated to Revision 2.  If you need to reinstall the previous
+  version of the plugin, you should run this script:
+  https://orthanc.uclouvain.be/hg/orthanc-databases/file/tip/PostgreSQL/Plugins/SQL/Downgrades/Rev2ToRev1.sql
 * Transaction Mode:
-  Introduced a new configuration to select the transaction isolation level
-    "TransactionMode": "Serializable"
+  Introduced a new configuration "TransactionMode" to select the transaction isolation level.
   Allowed values: "Serializable", "ReadCommitted".
   The "Serializable" mode was the only available value up to now.  It is still the default
   value now.
   The "ReadCommitted" is possible now due to rewrites of SQL queries and notably improves
   the Orthanc ability to ingest data from multiple sources in parallel.
-* internals:
-  - Added a UNIQUE constraint on Resources.publicId to detect DB inconsistencies
 * New "EnableVerboseLogs" configuration to show SQL statements being executed.
 
 
 Release 5.1 (2023-06-27)
 ========================
 
+DB schema revision: 1
+
 * Optimization of LookupResources mainly used in tools/find, C-Find and QIDO-RS.
 
 Release 5.0 (2023-04-15)