annotate PostgreSQL/NEWS @ 317:be8b0ac774e2

removed suspicious changeset 294 (adb5e86645a6)
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 19 Jul 2021 15:16:20 +0200
parents b783063f51f1
children 1280b40d6696 cd9521e04249
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 Pending changes in the mainline
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2 ===============================
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3
276
b783063f51f1 OrthancPostgreSQL-4.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 269
diff changeset
4
b783063f51f1 OrthancPostgreSQL-4.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 269
diff changeset
5 Release 4.0 (2021-04-22)
b783063f51f1 OrthancPostgreSQL-4.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 269
diff changeset
6 ========================
b783063f51f1 OrthancPostgreSQL-4.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 269
diff changeset
7
253
3bc442765b88 new configuration option: "IndexConnectionsCount"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 248
diff changeset
8 * New option "IndexConnectionsCount" to control how many simultaneous
3bc442765b88 new configuration option: "IndexConnectionsCount"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 248
diff changeset
9 connections to the PostgreSQL database are used by the index plugin
266
cc7af42d4f23 Store revisions for metadata and attachments in PostgreSQL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 253
diff changeset
10 * Support of revisions for metadata and attachments
248
7a4f9bcb0bc2 PostgreSQL: Support of range reads from the storage area
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 243
diff changeset
11 * Support of multiple readers/writers, by handling retries from Orthanc SDK 1.9.2
7a4f9bcb0bc2 PostgreSQL: Support of range reads from the storage area
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 243
diff changeset
12 * Support of range reads for the storage area, from Orthanc SDK 1.9.0
267
ece4663dedde Fix issue #193
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 266
diff changeset
13 * Fix issue #193 (LSB binaries crash with PostgreSQL + SSL) by changeset
ece4663dedde Fix issue #193
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 266
diff changeset
14 in OrthancFramework: https://hg.orthanc-server.com/orthanc/rev/9a9118406484
269
567761f0c1ea fix issue #151: support of retries in the storage area plugins to deal with multiple writers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 268
diff changeset
15 * Fix issue #151 (Storage failures when running with two instances and PG_LOCK=false)
195
53bd9022c58b Support of "OrthancPluginRegisterStorageArea2()" from Orthanc SDK 1.9.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 179
diff changeset
16
179
9b500ad566c0 OrthancPostgreSQL-3.3
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 172
diff changeset
17
9b500ad566c0 OrthancPostgreSQL-3.3
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 172
diff changeset
18 Release 3.3 (2020-12-14)
9b500ad566c0 OrthancPostgreSQL-3.3
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 172
diff changeset
19 ========================
9b500ad566c0 OrthancPostgreSQL-3.3
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 172
diff changeset
20
134
cc3dc759c989 Added an advisory lock to avoid race conditions during database setup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 132
diff changeset
21 * Added an advisory lock to avoid race conditions during database setup
141
0b3e9ee53c46 Added 'MaximumConnectionRetries' & 'ConnectionRetryInterval' to configure the retries when connecting to the DB at startup
Alain Mazy <alain@mazy.be>
parents: 134
diff changeset
22 * Added "MaximumConnectionRetries" & "ConnectionRetryInterval" to configure
0b3e9ee53c46 Added 'MaximumConnectionRetries' & 'ConnectionRetryInterval' to configure the retries when connecting to the DB at startup
Alain Mazy <alain@mazy.be>
parents: 134
diff changeset
23 the retries when connecting to the DB at startup
156
710537acb488 dynamic linking against the system-wide Orthanc framework library
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 141
diff changeset
24 * Support of dynamic linking against the system-wide Orthanc framework library
172
8c7bb94adff7 trying upgrade from libpq 9.6.1 to 13.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 156
diff changeset
25 * Upgraded dependencies for static builds (notably on Windows and LSB):
8c7bb94adff7 trying upgrade from libpq 9.6.1 to 13.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 156
diff changeset
26 - openssl 1.1.1g
268
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 267
diff changeset
27 - libpq 13.1 (replacing libpq 9.6.1)
134
cc3dc759c989 Added an advisory lock to avoid race conditions during database setup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 132
diff changeset
28
132
5c69c2a14c97 OrthancPostgreSQL-3.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 130
diff changeset
29
5c69c2a14c97 OrthancPostgreSQL-3.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 130
diff changeset
30 Release 3.2 (2019-03-01)
5c69c2a14c97 OrthancPostgreSQL-3.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 130
diff changeset
31 ========================
5c69c2a14c97 OrthancPostgreSQL-3.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 130
diff changeset
32
130
2d2b268799a2 Explicit deallocation of prepared statements
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 125
diff changeset
33 * Explicit deallocation of prepared statements
2d2b268799a2 Explicit deallocation of prepared statements
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 125
diff changeset
34
125
b85d672afcb5 OrthancPostgreSQL-3.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 121
diff changeset
35
b85d672afcb5 OrthancPostgreSQL-3.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 121
diff changeset
36 Release 3.1 (2019-02-08)
b85d672afcb5 OrthancPostgreSQL-3.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 121
diff changeset
37 ========================
b85d672afcb5 OrthancPostgreSQL-3.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 121
diff changeset
38
103
9263b3de37ed fix build on Debian Buster
jodogne
parents: 100
diff changeset
39 * Fix build on Debian Buster
106
b559af8fe6e0 Remove "ASSERT" in SQL for compatibility with older releases of PostgreSQL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 103
diff changeset
40 * Remove "ASSERT" in SQL for compatibility with older releases of PostgreSQL
117
ca0ecd412988 Implementation of new extensions: LookupResourceAndParent and GetAllMetadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 106
diff changeset
41 * Implementation of new extensions: LookupResourceAndParent and GetAllMetadata
121
0886da5b4816 integration pg-tcp-nodelay->mainline
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 117
diff changeset
42 * Performance: Defining option "TCP_NODELAY" if libpq is linked statically
103
9263b3de37ed fix build on Debian Buster
jodogne
parents: 100
diff changeset
43
100
deab01d8e1c8 set version
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 82
diff changeset
44
deab01d8e1c8 set version
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 82
diff changeset
45 Release 3.0 (2019-01-21)
deab01d8e1c8 set version
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 82
diff changeset
46 ========================
deab01d8e1c8 set version
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 82
diff changeset
47
81
515a783630df injecting fix to issue 105 into the mainline
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 56
diff changeset
48 * New configuration option: "EnableSsl"
80
16df1a6ea452 Fix issue 105 (Unable to connect to PostgreSQL database using SSL)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 75
diff changeset
49 * Database optimizations by implementing new primitives of Orthanc SDK 1.5.2
81
515a783630df injecting fix to issue 105 into the mainline
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 56
diff changeset
50 * Fix issue 105 (Unable to connect to PostgreSQL database using SSL)
56
4f66bc893fc3 Fix Debian issue #906771
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 48
diff changeset
51 * Fix Debian issue #906771 (Uncaught exception prevents db intialization
4f66bc893fc3 Fix Debian issue #906771
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 48
diff changeset
52 (likely related to pg_trgm))
48
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 42
diff changeset
53 * Fix: Catching exceptions in destructors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 42
diff changeset
54
33
860542a0a64b set version
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 29
diff changeset
55
42
4c3f767ead03 set version
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 33
diff changeset
56 Release 2.2 (2018-07-16)
33
860542a0a64b set version
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 29
diff changeset
57 ========================
860542a0a64b set version
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 29
diff changeset
58
29
2fb9cd42af14 cppcheck
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
59 !! Important remark when upgrading from an older version of the plugin:
2fb9cd42af14 cppcheck
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
60
2fb9cd42af14 cppcheck
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
61 The plugin will create a new index to improve search performance.
2fb9cd42af14 cppcheck
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
62 This can take several minutes at the first Orthanc startup. Orthanc
2fb9cd42af14 cppcheck
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
63 will not be available during this period. On a PostgreSQL database
2fb9cd42af14 cppcheck
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
64 with 100,000 studies, we have observed that updating the index took
2fb9cd42af14 cppcheck
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
65 around 10 minutes.
19
38e23471d132 more visibility on the index creation
am@osimis.io
parents: 0
diff changeset
66
0
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
67 * Migration into the "orthanc-databases" repository
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
68 * Full refactoring to share code with MySQL
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
69 * Fix issue 41 (Additional range IdentifierConstraintType in Orthanc)
33
860542a0a64b set version
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 29
diff changeset
70 !! This fix requires Orthanc version >= 1.4.0
0
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
71 * Fix issue 47 (Index improvements for PG plugin)
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
72 * Fix issue 76 (PG connection shall reconnect/retry in case it loses
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
73 the connection to the server)
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
74
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
75
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
76 Release 2.1 (2018-04-20)
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
77 ========================
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
78
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
79 * Running transactions in "Serializable" isolation level to avoid
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
80 inconsistencies if multiple Orthanc are writing to the same DB
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
81 * Upgrade to PostgreSQL 9.6.1 client library for static builds
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
82 * Performance warning if runtime debug assertions are turned on
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
83 * Fix issue 62 (use correct type for lo_read() value)
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
84 * Fix issue 63 (allow to connect without specifing username and/or port)
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
85 * Fix issue 68 (PostgreSQL plugin needs extra flags to compile)
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
86 * Resort to Orthanc framework
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
87 * Support of Linux Standard Base, OpenBSD and FreeBSD
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
88
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
89
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
90 Release 2.0 (2015-12-02)
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
91 ========================
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
92
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
93 => Minimum SDK version: 0.9.5 <=
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
94 => Supported database versions: 5 (upgrade only) and 6 <=
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
95
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
96 * Support version 6 of the database schema
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
97 * The "value" column of tables "MainDicomTags" and "DicomIdentifiers" are now TEXT instead of BYTEA
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
98
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
99
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
100 Release 1.3 (2015-10-07)
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
101 ========================
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
102
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
103 => Minimum SDK version: 0.9.4 <=
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
104 => Supported database versions: 5 <=
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
105
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
106 * Fix build with Orthanc plugin SDK 0.9.4
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
107 * Implementation of "GetAllPublicIdsWithLimit" extension
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
108 * Implementation of "UpgradeDatabase" extension
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
109
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
110
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
111 Release 1.2 (2015-08-02)
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
112 ========================
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
113
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
114 => Minimum SDK version: 0.9.1 <=
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
115
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
116 * Inject version information into Windows binaries
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
117 * CMake flag to prevent compiling the unit tests (if no PostgreSQL test server is available)
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
118 * Update to Boost 1.58.0 for static and Windows builds
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
119 * Support of OS X compilation
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
120
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
121
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
122 Release 1.1 (2015-07-03)
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
123 ========================
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
124
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
125 * Fixes
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
126 * Support of Visual Studio 2008
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
127 * Support of FreeBSD thanks Mikhail <mp39590@gmail.com>
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
128
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
129
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
130 Release 1.0 (2015-02-27)
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
131 ========================
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
132
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
133 * Use of advisory locks
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
134 * Support of connection URI in PostgreSQL
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
135 * Options "EnableIndex" and "EnableStorage" to explicitly enable PostgreSQL
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
136
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
137
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
138 2015-02-06
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
139 ==========
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
140
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
141 * Initial release