Mercurial > hg > orthanc-databases
changeset 848:3e4d8da97292 pg-next-1099
fix
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Thu, 17 Sep 2026 16:36:20 +0200 |
| parents | e942f6269e9f |
| children | 6177e8e6be50 0dd79dbdb5b5 |
| files | Framework/PostgreSQL/PostgreSQLDatabase.cpp PostgreSQL/Plugins/SQL/Upgrades/Rev10ToRev1099.sql |
| diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Framework/PostgreSQL/PostgreSQLDatabase.cpp Thu Sep 17 09:12:30 2026 +0200 +++ b/Framework/PostgreSQL/PostgreSQLDatabase.cpp Thu Sep 17 16:36:20 2026 +0200 @@ -189,7 +189,7 @@ PQclear(result); LOG(ERROR) << "PostgreSQL error: " << message; - ThrowException(false); + ThrowException(true); } }
--- a/PostgreSQL/Plugins/SQL/Upgrades/Rev10ToRev1099.sql Thu Sep 17 09:12:30 2026 +0200 +++ b/PostgreSQL/Plugins/SQL/Upgrades/Rev10ToRev1099.sql Thu Sep 17 16:36:20 2026 +0200 @@ -2,3 +2,4 @@ -- the DeleteResource function is updated in PrepareIndex.sql -- the AttachedFilesUuid index is created in PrepareIndex.sql +SELECT 1; \ No newline at end of file
