Mercurial > hg > orthanc-databases
diff PostgreSQL/Plugins/PostgreSQLIndex.h @ 366:cd9521e04249 attach-custom-data
DatabaseBackendAdapterV4: added support for customData + revision when not already done
author | Alain Mazy <am@osimis.io> |
---|---|
date | Thu, 15 Sep 2022 18:12:34 +0200 |
parents | cc7af42d4f23 |
children | f18e46d7dbf8 |
line wrap: on
line diff
--- a/PostgreSQL/Plugins/PostgreSQLIndex.h Tue Jul 05 08:44:26 2022 +0200 +++ b/PostgreSQL/Plugins/PostgreSQLIndex.h Thu Sep 15 18:12:34 2022 +0200 @@ -50,6 +50,11 @@ return true; } + virtual bool HasAttachmentCustomDataSupport() const ORTHANC_OVERRIDE + { + return true; + } + virtual int64_t CreateResource(DatabaseManager& manager, const char* publicId, OrthancPluginResourceType type)