annotate PostgreSQL/NEWS @ 172:8c7bb94adff7

trying upgrade from libpq 9.6.1 to 13.1
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 11 Dec 2020 12:49:33 +0100
parents 710537acb488
children 9b500ad566c0
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
134
cc3dc759c989 Added an advisory lock to avoid race conditions during database setup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 132
diff changeset
4 * 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
5 * 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
6 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
7 * 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
8 * 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
9 - openssl 1.1.1g
8c7bb94adff7 trying upgrade from libpq 9.6.1 to 13.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 156
diff changeset
10 - libpq 13.1
134
cc3dc759c989 Added an advisory lock to avoid race conditions during database setup
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 132
diff changeset
11
132
5c69c2a14c97 OrthancPostgreSQL-3.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 130
diff changeset
12
5c69c2a14c97 OrthancPostgreSQL-3.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 130
diff changeset
13 Release 3.2 (2019-03-01)
5c69c2a14c97 OrthancPostgreSQL-3.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 130
diff changeset
14 ========================
5c69c2a14c97 OrthancPostgreSQL-3.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 130
diff changeset
15
130
2d2b268799a2 Explicit deallocation of prepared statements
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 125
diff changeset
16 * Explicit deallocation of prepared statements
2d2b268799a2 Explicit deallocation of prepared statements
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 125
diff changeset
17
125
b85d672afcb5 OrthancPostgreSQL-3.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 121
diff changeset
18
b85d672afcb5 OrthancPostgreSQL-3.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 121
diff changeset
19 Release 3.1 (2019-02-08)
b85d672afcb5 OrthancPostgreSQL-3.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 121
diff changeset
20 ========================
b85d672afcb5 OrthancPostgreSQL-3.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 121
diff changeset
21
103
9263b3de37ed fix build on Debian Buster
jodogne
parents: 100
diff changeset
22 * 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
23 * 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
24 * Implementation of new extensions: LookupResourceAndParent and GetAllMetadata
121
0886da5b4816 integration pg-tcp-nodelay->mainline
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 117
diff changeset
25 * Performance: Defining option "TCP_NODELAY" if libpq is linked statically
103
9263b3de37ed fix build on Debian Buster
jodogne
parents: 100
diff changeset
26
100
deab01d8e1c8 set version
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 82
diff changeset
27
deab01d8e1c8 set version
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 82
diff changeset
28 Release 3.0 (2019-01-21)
deab01d8e1c8 set version
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 82
diff changeset
29 ========================
deab01d8e1c8 set version
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 82
diff changeset
30
81
515a783630df injecting fix to issue 105 into the mainline
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 56
diff changeset
31 * 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
32 * 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
33 * 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
34 * Fix Debian issue #906771 (Uncaught exception prevents db intialization
4f66bc893fc3 Fix Debian issue #906771
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 48
diff changeset
35 (likely related to pg_trgm))
48
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 42
diff changeset
36 * Fix: Catching exceptions in destructors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 42
diff changeset
37
33
860542a0a64b set version
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 29
diff changeset
38
42
4c3f767ead03 set version
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 33
diff changeset
39 Release 2.2 (2018-07-16)
33
860542a0a64b set version
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 29
diff changeset
40 ========================
860542a0a64b set version
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 29
diff changeset
41
29
2fb9cd42af14 cppcheck
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
42 !! Important remark when upgrading from an older version of the plugin:
2fb9cd42af14 cppcheck
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
43
2fb9cd42af14 cppcheck
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
44 The plugin will create a new index to improve search performance.
2fb9cd42af14 cppcheck
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
45 This can take several minutes at the first Orthanc startup. Orthanc
2fb9cd42af14 cppcheck
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
46 will not be available during this period. On a PostgreSQL database
2fb9cd42af14 cppcheck
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
47 with 100,000 studies, we have observed that updating the index took
2fb9cd42af14 cppcheck
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 19
diff changeset
48 around 10 minutes.
19
38e23471d132 more visibility on the index creation
am@osimis.io
parents: 0
diff changeset
49
0
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
50 * Migration into the "orthanc-databases" repository
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
51 * Full refactoring to share code with MySQL
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
52 * Fix issue 41 (Additional range IdentifierConstraintType in Orthanc)
33
860542a0a64b set version
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 29
diff changeset
53 !! This fix requires Orthanc version >= 1.4.0
0
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
54 * Fix issue 47 (Index improvements for PG plugin)
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
55 * Fix issue 76 (PG connection shall reconnect/retry in case it loses
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
56 the connection to the server)
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
57
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
58
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
59 Release 2.1 (2018-04-20)
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
60 ========================
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
61
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
62 * Running transactions in "Serializable" isolation level to avoid
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
63 inconsistencies if multiple Orthanc are writing to the same DB
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
64 * Upgrade to PostgreSQL 9.6.1 client library for static builds
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
65 * Performance warning if runtime debug assertions are turned on
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
66 * Fix issue 62 (use correct type for lo_read() value)
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
67 * Fix issue 63 (allow to connect without specifing username and/or port)
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
68 * Fix issue 68 (PostgreSQL plugin needs extra flags to compile)
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
69 * Resort to Orthanc framework
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
70 * Support of Linux Standard Base, OpenBSD and FreeBSD
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
71
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
72
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
73 Release 2.0 (2015-12-02)
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 => Minimum SDK version: 0.9.5 <=
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
77 => Supported database versions: 5 (upgrade only) and 6 <=
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 * Support version 6 of the database schema
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
80 * 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
81
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
82
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
83 Release 1.3 (2015-10-07)
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
84 ========================
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
85
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
86 => Minimum SDK version: 0.9.4 <=
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
87 => Supported database versions: 5 <=
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 * Fix build with Orthanc plugin SDK 0.9.4
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
90 * Implementation of "GetAllPublicIdsWithLimit" extension
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
91 * Implementation of "UpgradeDatabase" extension
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
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
94 Release 1.2 (2015-08-02)
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
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
97 => Minimum SDK version: 0.9.1 <=
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 * Inject version information into Windows binaries
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
100 * 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
101 * Update to Boost 1.58.0 for static and Windows builds
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
102 * Support of OS X compilation
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
103
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
104
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
105 Release 1.1 (2015-07-03)
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
106 ========================
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
107
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
108 * Fixes
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
109 * Support of Visual Studio 2008
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
110 * Support of FreeBSD thanks Mikhail <mp39590@gmail.com>
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
111
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 Release 1.0 (2015-02-27)
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
114 ========================
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 * Use of advisory locks
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
117 * Support of connection URI in PostgreSQL
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
118 * Options "EnableIndex" and "EnableStorage" to explicitly enable PostgreSQL
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
119
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 2015-02-06
7cea966b6829 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
122 ==========
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 * Initial release