comparison PostgreSQL/Plugins/PostgreSQLIndex.h @ 71:d40c5fecd160 db-changes

new extension implemented for PostgreSQL: CreateInstance
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 04 Jan 2019 13:51:52 +0100
parents 714c5d2bee76
children 8dd29af7c844
comparison
equal deleted inserted replaced
70:e6c13ddd26d9 71:d40c5fecd160
70 clearAll_ = clear; 70 clearAll_ = clear;
71 } 71 }
72 72
73 virtual int64_t CreateResource(const char* publicId, 73 virtual int64_t CreateResource(const char* publicId,
74 OrthancPluginResourceType type); 74 OrthancPluginResourceType type);
75
76 virtual bool HasCreateInstance() const
77 {
78 return true;
79 }
80
81 #if ORTHANC_PLUGINS_HAS_DATABASE_CONSTRAINT == 1
82 virtual void CreateInstance(OrthancPluginCreateInstanceResult& result,
83 const char* hashPatient,
84 const char* hashStudy,
85 const char* hashSeries,
86 const char* hashInstance);
87 #endif
75 }; 88 };
76 } 89 }