comparison OrthancServer/Sources/main.cpp @ 5464:38f1d06875ad pg-transactions

delete attachment in case of same instance being uploaded multiple times at the same time
author Alain Mazy <am@osimis.io>
date Tue, 12 Dec 2023 17:20:10 +0100
parents 46ed738c3e5d
children b3ebe249ed5b
comparison
equal deleted inserted replaced
5459:46ed738c3e5d 5464:38f1d06875ad
818 PrintErrorCode(ErrorCode_BadRange, "Incorrect range request"); 818 PrintErrorCode(ErrorCode_BadRange, "Incorrect range request");
819 PrintErrorCode(ErrorCode_DatabaseCannotSerialize, "Database could not serialize access due to concurrent update, the transaction should be retried"); 819 PrintErrorCode(ErrorCode_DatabaseCannotSerialize, "Database could not serialize access due to concurrent update, the transaction should be retried");
820 PrintErrorCode(ErrorCode_Revision, "A bad revision number was provided, which might indicate conflict between multiple writers"); 820 PrintErrorCode(ErrorCode_Revision, "A bad revision number was provided, which might indicate conflict between multiple writers");
821 PrintErrorCode(ErrorCode_MainDicomTagsMultiplyDefined, "A main DICOM Tag has been defined multiple times for the same resource level"); 821 PrintErrorCode(ErrorCode_MainDicomTagsMultiplyDefined, "A main DICOM Tag has been defined multiple times for the same resource level");
822 PrintErrorCode(ErrorCode_ForbiddenAccess, "Access to a resource is forbidden"); 822 PrintErrorCode(ErrorCode_ForbiddenAccess, "Access to a resource is forbidden");
823 PrintErrorCode(ErrorCode_DuplicateResource, "Duplicate resource");
823 PrintErrorCode(ErrorCode_SQLiteNotOpened, "SQLite: The database is not opened"); 824 PrintErrorCode(ErrorCode_SQLiteNotOpened, "SQLite: The database is not opened");
824 PrintErrorCode(ErrorCode_SQLiteAlreadyOpened, "SQLite: Connection is already open"); 825 PrintErrorCode(ErrorCode_SQLiteAlreadyOpened, "SQLite: Connection is already open");
825 PrintErrorCode(ErrorCode_SQLiteCannotOpen, "SQLite: Unable to open the database"); 826 PrintErrorCode(ErrorCode_SQLiteCannotOpen, "SQLite: Unable to open the database");
826 PrintErrorCode(ErrorCode_SQLiteStatementAlreadyUsed, "SQLite: This cached statement is already being referred to"); 827 PrintErrorCode(ErrorCode_SQLiteStatementAlreadyUsed, "SQLite: This cached statement is already being referred to");
827 PrintErrorCode(ErrorCode_SQLiteExecute, "SQLite: Cannot execute a command"); 828 PrintErrorCode(ErrorCode_SQLiteExecute, "SQLite: Cannot execute a command");