diff PostgreSQL/Plugins/PostgreSQLIndex.h @ 433:5964ce6385a5 pg-transactions

use temporary tables for DeletedFiles, RemainingAncestor and DeletedResources
author Alain Mazy <am@osimis.io>
date Wed, 13 Dec 2023 15:48:56 +0100
parents 7c1fe5d6c12c
children 23c7af6f671a
line wrap: on
line diff
--- a/PostgreSQL/Plugins/PostgreSQLIndex.h	Mon Dec 11 14:39:27 2023 +0100
+++ b/PostgreSQL/Plugins/PostgreSQLIndex.h	Wed Dec 13 15:48:56 2023 +0100
@@ -33,6 +33,14 @@
     PostgreSQLParameters   parameters_;
     bool                   clearAll_;
 
+  protected:
+    virtual void ClearDeletedFiles(DatabaseManager& manager);
+
+    virtual void ClearDeletedResources(DatabaseManager& manager);
+
+    virtual void ClearRemainingAncestor(DatabaseManager& manager);
+
+
   public:
     PostgreSQLIndex(OrthancPluginContext* context,
                     const PostgreSQLParameters& parameters);