|
1 | 1 | <!-- doc/src/sgml/release-8.2.sgml -->
|
2 | 2 | <!-- See header comment in release.sgml about typical markup -->
|
3 | 3 |
|
| 4 | + <sect1 id="release-8-2-22"> |
| 5 | + <title>Release 8.2.22</title> |
| 6 | + |
| 7 | + <note> |
| 8 | + <title>Release Date</title> |
| 9 | + <simpara>2011-09-26</simpara> |
| 10 | + </note> |
| 11 | + |
| 12 | + <para> |
| 13 | + This release contains a variety of fixes from 8.2.21. |
| 14 | + For information about new features in the 8.2 major release, see |
| 15 | + <xref linkend="release-8-2">. |
| 16 | + </para> |
| 17 | + |
| 18 | + <para> |
| 19 | + The <productname>PostgreSQL</> community will stop releasing updates |
| 20 | + for the 8.2.X release series in December 2011. |
| 21 | + Users are encouraged to update to a newer release branch soon. |
| 22 | + </para> |
| 23 | + |
| 24 | + <sect2> |
| 25 | + <title>Migration to Version 8.2.22</title> |
| 26 | + |
| 27 | + <para> |
| 28 | + A dump/restore is not required for those running 8.2.X. |
| 29 | + However, if you are upgrading from a version earlier than 8.2.14, |
| 30 | + see the release notes for 8.2.14. |
| 31 | + </para> |
| 32 | + |
| 33 | + </sect2> |
| 34 | + |
| 35 | + <sect2> |
| 36 | + <title>Changes</title> |
| 37 | + |
| 38 | + <itemizedlist> |
| 39 | + |
| 40 | + <listitem> |
| 41 | + <para> |
| 42 | + Fix multiple bugs in GiST index page split processing (Heikki |
| 43 | + Linnakangas) |
| 44 | + </para> |
| 45 | + |
| 46 | + <para> |
| 47 | + The probability of occurrence was low, but these could lead to index |
| 48 | + corruption. |
| 49 | + </para> |
| 50 | + </listitem> |
| 51 | + |
| 52 | + <listitem> |
| 53 | + <para> |
| 54 | + Avoid possibly accessing off the end of memory in <command>ANALYZE</> |
| 55 | + (Noah Misch) |
| 56 | + </para> |
| 57 | + |
| 58 | + <para> |
| 59 | + This fixes a very-low-probability server crash scenario. |
| 60 | + </para> |
| 61 | + </listitem> |
| 62 | + |
| 63 | + <listitem> |
| 64 | + <para> |
| 65 | + Fix race condition in relcache init file invalidation (Tom Lane) |
| 66 | + </para> |
| 67 | + |
| 68 | + <para> |
| 69 | + There was a window wherein a new backend process could read a stale init |
| 70 | + file but miss the inval messages that would tell it the data is stale. |
| 71 | + The result would be bizarre failures in catalog accesses, typically |
| 72 | + <quote>could not read block 0 in file ...</> later during startup. |
| 73 | + </para> |
| 74 | + </listitem> |
| 75 | + |
| 76 | + <listitem> |
| 77 | + <para> |
| 78 | + Fix memory leak at end of a GiST index scan (Tom Lane) |
| 79 | + </para> |
| 80 | + |
| 81 | + <para> |
| 82 | + Commands that perform many separate GiST index scans, such as |
| 83 | + verification of a new GiST-based exclusion constraint on a table |
| 84 | + already containing many rows, could transiently require large amounts of |
| 85 | + memory due to this leak. |
| 86 | + </para> |
| 87 | + </listitem> |
| 88 | + |
| 89 | + <listitem> |
| 90 | + <para> |
| 91 | + Fix performance problem when constructing a large, lossy bitmap |
| 92 | + (Tom Lane) |
| 93 | + </para> |
| 94 | + </listitem> |
| 95 | + |
| 96 | + <listitem> |
| 97 | + <para> |
| 98 | + Fix array- and path-creating functions to ensure padding bytes are |
| 99 | + zeroes (Tom Lane) |
| 100 | + </para> |
| 101 | + |
| 102 | + <para> |
| 103 | + This avoids some situations where the planner will think that |
| 104 | + semantically-equal constants are not equal, resulting in poor |
| 105 | + optimization. |
| 106 | + </para> |
| 107 | + </listitem> |
| 108 | + |
| 109 | + <listitem> |
| 110 | + <para> |
| 111 | + Work around gcc 4.6.0 bug that breaks WAL replay (Tom Lane) |
| 112 | + </para> |
| 113 | + |
| 114 | + <para> |
| 115 | + This could lead to loss of committed transactions after a server crash. |
| 116 | + </para> |
| 117 | + </listitem> |
| 118 | + |
| 119 | + <listitem> |
| 120 | + <para> |
| 121 | + Fix dump bug for <literal>VALUES</> in a view (Tom Lane) |
| 122 | + </para> |
| 123 | + </listitem> |
| 124 | + |
| 125 | + <listitem> |
| 126 | + <para> |
| 127 | + Disallow <literal>SELECT FOR UPDATE/SHARE</> on sequences (Tom Lane) |
| 128 | + </para> |
| 129 | + |
| 130 | + <para> |
| 131 | + This operation doesn't work as expected and can lead to failures. |
| 132 | + </para> |
| 133 | + </listitem> |
| 134 | + |
| 135 | + <listitem> |
| 136 | + <para> |
| 137 | + Defend against integer overflow when computing size of a hash table (Tom |
| 138 | + Lane) |
| 139 | + </para> |
| 140 | + </listitem> |
| 141 | + |
| 142 | + <listitem> |
| 143 | + <para> |
| 144 | + Fix portability bugs in use of credentials control messages for |
| 145 | + <quote>peer</> authentication (Tom Lane) |
| 146 | + </para> |
| 147 | + </listitem> |
| 148 | + |
| 149 | + <listitem> |
| 150 | + <para> |
| 151 | + Fix typo in <function>pg_srand48</> seed initialization (Andres Freund) |
| 152 | + </para> |
| 153 | + |
| 154 | + <para> |
| 155 | + This led to failure to use all bits of the provided seed. This function |
| 156 | + is not used on most platforms (only those without <function>srandom</>), |
| 157 | + and the potential security exposure from a less-random-than-expected |
| 158 | + seed seems minimal in any case. |
| 159 | + </para> |
| 160 | + </listitem> |
| 161 | + |
| 162 | + <listitem> |
| 163 | + <para> |
| 164 | + Avoid integer overflow when the sum of <literal>LIMIT</> and |
| 165 | + <literal>OFFSET</> values exceeds 2^63 (Heikki Linnakangas) |
| 166 | + </para> |
| 167 | + </listitem> |
| 168 | + |
| 169 | + <listitem> |
| 170 | + <para> |
| 171 | + Add overflow checks to <type>int4</> and <type>int8</> versions of |
| 172 | + <function>generate_series()</> (Robert Haas) |
| 173 | + </para> |
| 174 | + </listitem> |
| 175 | + |
| 176 | + <listitem> |
| 177 | + <para> |
| 178 | + Fix trailing-zero removal in <function>to_char()</> (Marti Raudsepp) |
| 179 | + </para> |
| 180 | + |
| 181 | + <para> |
| 182 | + In a format with <literal>FM</> and no digit positions |
| 183 | + after the decimal point, zeroes to the left of the decimal point could |
| 184 | + be removed incorrectly. |
| 185 | + </para> |
| 186 | + </listitem> |
| 187 | + |
| 188 | + <listitem> |
| 189 | + <para> |
| 190 | + Fix <function>pg_size_pretty()</> to avoid overflow for inputs close to |
| 191 | + 2^63 (Tom Lane) |
| 192 | + </para> |
| 193 | + </listitem> |
| 194 | + |
| 195 | + <listitem> |
| 196 | + <para> |
| 197 | + Fix <application>psql</>'s counting of script file line numbers during |
| 198 | + <literal>COPY</> from a different file (Tom Lane) |
| 199 | + </para> |
| 200 | + </listitem> |
| 201 | + |
| 202 | + <listitem> |
| 203 | + <para> |
| 204 | + Fix <application>pg_restore</>'s direct-to-database mode for |
| 205 | + <varname>standard_conforming_strings</> (Tom Lane) |
| 206 | + </para> |
| 207 | + |
| 208 | + <para> |
| 209 | + <application>pg_restore</> could emit incorrect commands when restoring |
| 210 | + directly to a database server from an archive file that had been made |
| 211 | + with <varname>standard_conforming_strings</> set to <literal>on</>. |
| 212 | + </para> |
| 213 | + </listitem> |
| 214 | + |
| 215 | + <listitem> |
| 216 | + <para> |
| 217 | + Fix write-past-buffer-end and memory leak in <application>libpq</>'s |
| 218 | + LDAP service lookup code (Albe Laurenz) |
| 219 | + </para> |
| 220 | + </listitem> |
| 221 | + |
| 222 | + <listitem> |
| 223 | + <para> |
| 224 | + In <application>libpq</>, avoid failures when using nonblocking I/O |
| 225 | + and an SSL connection (Martin Pihlak, Tom Lane) |
| 226 | + </para> |
| 227 | + </listitem> |
| 228 | + |
| 229 | + <listitem> |
| 230 | + <para> |
| 231 | + Improve libpq's handling of failures during connection startup |
| 232 | + (Tom Lane) |
| 233 | + </para> |
| 234 | + |
| 235 | + <para> |
| 236 | + In particular, the response to a server report of <function>fork()</> |
| 237 | + failure during SSL connection startup is now saner. |
| 238 | + </para> |
| 239 | + </listitem> |
| 240 | + |
| 241 | + <listitem> |
| 242 | + <para> |
| 243 | + Make <application>ecpglib</> write <type>double</> values with 15 digits |
| 244 | + precision (Akira Kurosawa) |
| 245 | + </para> |
| 246 | + </listitem> |
| 247 | + |
| 248 | + <listitem> |
| 249 | + <para> |
| 250 | + Apply upstream fix for blowfish signed-character bug (CVE-2011-2483) |
| 251 | + (Tom Lane) |
| 252 | + </para> |
| 253 | + |
| 254 | + <para> |
| 255 | + <filename>contrib/pg_crypto</>'s blowfish encryption code could give |
| 256 | + wrong results on platforms where char is signed (which is most), |
| 257 | + leading to encrypted passwords being weaker than they should be. |
| 258 | + </para> |
| 259 | + </listitem> |
| 260 | + |
| 261 | + <listitem> |
| 262 | + <para> |
| 263 | + Fix memory leak in <filename>contrib/seg</> (Heikki Linnakangas) |
| 264 | + </para> |
| 265 | + </listitem> |
| 266 | + |
| 267 | + <listitem> |
| 268 | + <para> |
| 269 | + Fix <function>pgstatindex()</> to give consistent results for empty |
| 270 | + indexes (Tom Lane) |
| 271 | + </para> |
| 272 | + </listitem> |
| 273 | + |
| 274 | + <listitem> |
| 275 | + <para> |
| 276 | + Allow building with perl 5.14 (Alex Hunsaker) |
| 277 | + </para> |
| 278 | + </listitem> |
| 279 | + |
| 280 | + <listitem> |
| 281 | + <para> |
| 282 | + Update configure script's method for probing existence of system |
| 283 | + functions (Tom Lane) |
| 284 | + </para> |
| 285 | + |
| 286 | + <para> |
| 287 | + The version of autoconf we used in 8.3 and 8.2 could be fooled by |
| 288 | + compilers that perform link-time optimization. |
| 289 | + </para> |
| 290 | + </listitem> |
| 291 | + |
| 292 | + <listitem> |
| 293 | + <para> |
| 294 | + Fix assorted issues with build and install file paths containing spaces |
| 295 | + (Tom Lane) |
| 296 | + </para> |
| 297 | + </listitem> |
| 298 | + |
| 299 | + <listitem> |
| 300 | + <para> |
| 301 | + Update time zone data files to <application>tzdata</> release 2011i |
| 302 | + for DST law changes in Canada, Egypt, Russia, Samoa, and South Sudan. |
| 303 | + </para> |
| 304 | + </listitem> |
| 305 | + |
| 306 | + </itemizedlist> |
| 307 | + |
| 308 | + </sect2> |
| 309 | + </sect1> |
| 310 | + |
4 | 311 | <sect1 id="release-8-2-21">
|
5 | 312 | <title>Release 8.2.21</title>
|
6 | 313 |
|
|
1334 | 1641 | </para>
|
1335 | 1642 |
|
1336 | 1643 | <para>
|
1337 |
| - This fix prevents a PANIC if a <literal>VACUUM FULL</> is cancelled |
| 1644 | + This fix prevents a PANIC if a <literal>VACUUM FULL</> is canceled |
1338 | 1645 | after it's already committed its tuple movements, as well as transient
|
1339 | 1646 | errors if a plain <literal>VACUUM</> is interrupted after having
|
1340 | 1647 | truncated the table.
|
|
0 commit comments