~ubuntu-branches/ubuntu/oneiric/postgresql-9.1/oneiric-security

« back to all changes in this revision

Viewing changes to doc/src/sgml/html/release-9-1-8.html

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2013-02-05 18:13:52 UTC
  • mfrom: (1.1.10) (10.1.5 oneiric-proposed)
  • Revision ID: package-import@ubuntu.com-20130205181352-3kw4f94ilqklzm7c
Tags: 9.1.8-0ubuntu11.10
* New upstream security/bug fix release: (LP: #1116336)
  - Prevent execution of enum_recv from SQL
    The function was misdeclared, allowing a simple SQL command to crash the
    server.  In principle an attacker might be able to use it to examine the
    contents of server memory.  Our thanks to Sumit Soni (via Secunia SVCRP)
    for reporting this issue. (CVE-2013-0255)
  - See HISTORY/changelog.gz for the other bug fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 
2
<HTML
 
3
><HEAD
 
4
><TITLE
 
5
>Release 9.1.8</TITLE
 
6
><META
 
7
NAME="GENERATOR"
 
8
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
 
9
REV="MADE"
 
10
HREF="mailto:pgsql-docs@postgresql.org"><LINK
 
11
REL="HOME"
 
12
TITLE="PostgreSQL 9.1.8 Documentation"
 
13
HREF="index.html"><LINK
 
14
REL="UP"
 
15
TITLE="Release Notes"
 
16
HREF="release.html"><LINK
 
17
REL="PREVIOUS"
 
18
TITLE="Release Notes"
 
19
HREF="release.html"><LINK
 
20
REL="NEXT"
 
21
TITLE="Release 9.1.7"
 
22
HREF="release-9-1-7.html"><LINK
 
23
REL="STYLESHEET"
 
24
TYPE="text/css"
 
25
HREF="stylesheet.css"><META
 
26
HTTP-EQUIV="Content-Type"
 
27
CONTENT="text/html; charset=ISO-8859-1"><META
 
28
NAME="creation"
 
29
CONTENT="2013-02-04T21:38:53"></HEAD
 
30
><BODY
 
31
CLASS="SECT1"
 
32
><DIV
 
33
CLASS="NAVHEADER"
 
34
><TABLE
 
35
SUMMARY="Header navigation table"
 
36
WIDTH="100%"
 
37
BORDER="0"
 
38
CELLPADDING="0"
 
39
CELLSPACING="0"
 
40
><TR
 
41
><TH
 
42
COLSPAN="5"
 
43
ALIGN="center"
 
44
VALIGN="bottom"
 
45
><A
 
46
HREF="index.html"
 
47
>PostgreSQL 9.1.8 Documentation</A
 
48
></TH
 
49
></TR
 
50
><TR
 
51
><TD
 
52
WIDTH="10%"
 
53
ALIGN="left"
 
54
VALIGN="top"
 
55
><A
 
56
TITLE="Release Notes"
 
57
HREF="release.html"
 
58
ACCESSKEY="P"
 
59
>Prev</A
 
60
></TD
 
61
><TD
 
62
WIDTH="10%"
 
63
ALIGN="left"
 
64
VALIGN="top"
 
65
><A
 
66
HREF="release.html"
 
67
ACCESSKEY="U"
 
68
>Up</A
 
69
></TD
 
70
><TD
 
71
WIDTH="60%"
 
72
ALIGN="center"
 
73
VALIGN="bottom"
 
74
>Appendix E. Release Notes</TD
 
75
><TD
 
76
WIDTH="20%"
 
77
ALIGN="right"
 
78
VALIGN="top"
 
79
><A
 
80
TITLE="Release 9.1.7"
 
81
HREF="release-9-1-7.html"
 
82
ACCESSKEY="N"
 
83
>Next</A
 
84
></TD
 
85
></TR
 
86
></TABLE
 
87
><HR
 
88
ALIGN="LEFT"
 
89
WIDTH="100%"></DIV
 
90
><DIV
 
91
CLASS="SECT1"
 
92
><H1
 
93
CLASS="SECT1"
 
94
><A
 
95
NAME="RELEASE-9-1-8"
 
96
>E.1. Release 9.1.8</A
 
97
></H1
 
98
><DIV
 
99
CLASS="NOTE"
 
100
><BLOCKQUOTE
 
101
CLASS="NOTE"
 
102
><P
 
103
><B
 
104
>Release Date: </B
 
105
>2013-02-07</P
 
106
></BLOCKQUOTE
 
107
></DIV
 
108
><P
 
109
>   This release contains a variety of fixes from 9.1.7.
 
110
   For information about new features in the 9.1 major release, see
 
111
   <A
 
112
HREF="release-9-1.html"
 
113
>Section E.9</A
 
114
>.
 
115
  </P
 
116
><DIV
 
117
CLASS="SECT2"
 
118
><H2
 
119
CLASS="SECT2"
 
120
><A
 
121
NAME="AEN106595"
 
122
>E.1.1. Migration to Version 9.1.8</A
 
123
></H2
 
124
><P
 
125
>    A dump/restore is not required for those running 9.1.X.
 
126
   </P
 
127
><P
 
128
>    However, if you are upgrading from a version earlier than 9.1.6,
 
129
    see the release notes for 9.1.6.
 
130
   </P
 
131
></DIV
 
132
><DIV
 
133
CLASS="SECT2"
 
134
><H2
 
135
CLASS="SECT2"
 
136
><A
 
137
NAME="AEN106599"
 
138
>E.1.2. Changes</A
 
139
></H2
 
140
><P
 
141
></P
 
142
><UL
 
143
><LI
 
144
><P
 
145
>      Prevent execution of <CODE
 
146
CLASS="FUNCTION"
 
147
>enum_recv</CODE
 
148
> from SQL (Tom Lane)
 
149
     </P
 
150
><P
 
151
>      The function was misdeclared, allowing a simple SQL command to crash the
 
152
      server.  In principle an attacker might be able to use it to examine the
 
153
      contents of server memory.  Our thanks to Sumit Soni (via Secunia SVCRP)
 
154
      for reporting this issue.  (CVE-2013-0255)
 
155
     </P
 
156
></LI
 
157
><LI
 
158
><P
 
159
>      Fix multiple problems in detection of when a consistent database
 
160
      state has been reached during WAL replay (Fujii Masao, Heikki
 
161
      Linnakangas, Simon Riggs, Andres Freund)
 
162
     </P
 
163
></LI
 
164
><LI
 
165
><P
 
166
>      Update minimum recovery point when truncating a relation file (Heikki
 
167
      Linnakangas)
 
168
     </P
 
169
><P
 
170
>      Once data has been discarded, it's no longer safe to stop recovery at
 
171
      an earlier point in the timeline.
 
172
     </P
 
173
></LI
 
174
><LI
 
175
><P
 
176
>      Fix recycling of WAL segments after changing recovery target timeline
 
177
      (Heikki Linnakangas)
 
178
     </P
 
179
></LI
 
180
><LI
 
181
><P
 
182
>      Fix missing cancellations in hot standby mode (Noah Misch, Simon Riggs)
 
183
     </P
 
184
><P
 
185
>      The need to cancel conflicting hot-standby queries would sometimes be
 
186
      missed, allowing those queries to see inconsistent data.
 
187
     </P
 
188
></LI
 
189
><LI
 
190
><P
 
191
>      Prevent recovery pause feature from pausing before users can connect
 
192
      (Tom Lane)
 
193
     </P
 
194
></LI
 
195
><LI
 
196
><P
 
197
>      Fix SQL grammar to allow subscripting or field selection from a
 
198
      sub-SELECT result (Tom Lane)
 
199
     </P
 
200
></LI
 
201
><LI
 
202
><P
 
203
>      Fix performance problems with autovacuum truncation in busy workloads
 
204
      (Jan Wieck)
 
205
     </P
 
206
><P
 
207
>      Truncation of empty pages at the end of a table requires exclusive
 
208
      lock, but autovacuum was coded to fail (and release the table lock)
 
209
      when there are conflicting lock requests.  Under load, it is easily
 
210
      possible that truncation would never occur, resulting in table bloat.
 
211
      Fix by performing a partial truncation, releasing the lock, then
 
212
      attempting to re-acquire the lock and continue.  This fix also greatly
 
213
      reduces the average time before autovacuum releases the lock after a
 
214
      conflicting request arrives.
 
215
     </P
 
216
></LI
 
217
><LI
 
218
><P
 
219
>      Protect against race conditions when scanning
 
220
      <TT
 
221
CLASS="STRUCTNAME"
 
222
>pg_tablespace</TT
 
223
> (Stephen Frost, Tom Lane)
 
224
     </P
 
225
><P
 
226
>      <TT
 
227
CLASS="COMMAND"
 
228
>CREATE DATABASE</TT
 
229
> and <TT
 
230
CLASS="COMMAND"
 
231
>DROP DATABASE</TT
 
232
> could
 
233
      misbehave if there were concurrent updates of
 
234
      <TT
 
235
CLASS="STRUCTNAME"
 
236
>pg_tablespace</TT
 
237
> entries.
 
238
     </P
 
239
></LI
 
240
><LI
 
241
><P
 
242
>      Prevent <TT
 
243
CLASS="COMMAND"
 
244
>DROP OWNED</TT
 
245
> from trying to drop whole databases or
 
246
      tablespaces (&Aacute;lvaro Herrera)
 
247
     </P
 
248
><P
 
249
>      For safety, ownership of these objects must be reassigned, not dropped.
 
250
     </P
 
251
></LI
 
252
><LI
 
253
><P
 
254
>      Fix error in <A
 
255
HREF="runtime-config-client.html#GUC-VACUUM-FREEZE-TABLE-AGE"
 
256
><TT
 
257
CLASS="VARNAME"
 
258
>vacuum_freeze_table_age</TT
 
259
></A
 
260
>
 
261
      implementation (Andres Freund)
 
262
     </P
 
263
><P
 
264
>      The main consequence of this mistake is that lowering <A
 
265
HREF="runtime-config-client.html#GUC-VACUUM-FREEZE-MIN-AGE"
 
266
><TT
 
267
CLASS="VARNAME"
 
268
>vacuum_freeze_min_age</TT
 
269
></A
 
270
>
 
271
      would cause full-table vacuuming scans to occur much more frequently
 
272
      than intended.
 
273
     </P
 
274
></LI
 
275
><LI
 
276
><P
 
277
>      Prevent misbehavior when a <TT
 
278
CLASS="SYMBOL"
 
279
>RowExpr</TT
 
280
> or <TT
 
281
CLASS="SYMBOL"
 
282
>XmlExpr</TT
 
283
>
 
284
      is parse-analyzed twice (Andres Freund, Tom Lane)
 
285
     </P
 
286
><P
 
287
>      This mistake could be user-visible in contexts such as
 
288
      <TT
 
289
CLASS="LITERAL"
 
290
>CREATE TABLE LIKE INCLUDING INDEXES</TT
 
291
>.
 
292
     </P
 
293
></LI
 
294
><LI
 
295
><P
 
296
>      Improve defenses against integer overflow in hashtable sizing
 
297
      calculations (Jeff Davis)
 
298
     </P
 
299
></LI
 
300
><LI
 
301
><P
 
302
>      Fix failure to ignore leftover temporary tables after a server crash
 
303
      (Tom Lane)
 
304
     </P
 
305
></LI
 
306
><LI
 
307
><P
 
308
>      Reject out-of-range dates in <CODE
 
309
CLASS="FUNCTION"
 
310
>to_date()</CODE
 
311
> (Hitoshi Harada)
 
312
     </P
 
313
></LI
 
314
><LI
 
315
><P
 
316
>      Fix <CODE
 
317
CLASS="FUNCTION"
 
318
>pg_extension_config_dump()</CODE
 
319
> to handle
 
320
      extension-update cases properly (Tom Lane)
 
321
     </P
 
322
><P
 
323
>      This function will now replace any existing entry for the target
 
324
      table, making it usable in extension update scripts.
 
325
     </P
 
326
></LI
 
327
><LI
 
328
><P
 
329
>      Fix PL/Python's handling of functions used as triggers on multiple
 
330
      tables (Andres Freund)
 
331
     </P
 
332
></LI
 
333
><LI
 
334
><P
 
335
>      Ensure that non-ASCII prompt strings are translated to the correct
 
336
      code page on Windows (Alexander Law, Noah Misch)
 
337
     </P
 
338
><P
 
339
>      This bug affected <SPAN
 
340
CLASS="APPLICATION"
 
341
>psql</SPAN
 
342
> and some other client programs.
 
343
     </P
 
344
></LI
 
345
><LI
 
346
><P
 
347
>      Fix possible crash in <SPAN
 
348
CLASS="APPLICATION"
 
349
>psql</SPAN
 
350
>'s <TT
 
351
CLASS="COMMAND"
 
352
>\?</TT
 
353
> command
 
354
      when not connected to a database (Meng Qingzhong)
 
355
     </P
 
356
></LI
 
357
><LI
 
358
><P
 
359
>      Fix possible error if a relation file is removed while
 
360
      <SPAN
 
361
CLASS="APPLICATION"
 
362
>pg_basebackup</SPAN
 
363
> is running (Heikki Linnakangas)
 
364
     </P
 
365
></LI
 
366
><LI
 
367
><P
 
368
>      Make <SPAN
 
369
CLASS="APPLICATION"
 
370
>pg_dump</SPAN
 
371
> exclude data of unlogged tables when
 
372
      running on a hot-standby server (Magnus Hagander)
 
373
     </P
 
374
><P
 
375
>      This would fail anyway because the data is not available on the standby
 
376
      server, so it seems most convenient to assume
 
377
      <TT
 
378
CLASS="OPTION"
 
379
>--no-unlogged-table-data</TT
 
380
> automatically.
 
381
     </P
 
382
></LI
 
383
><LI
 
384
><P
 
385
>      Fix <SPAN
 
386
CLASS="APPLICATION"
 
387
>pg_upgrade</SPAN
 
388
> to deal with invalid indexes safely
 
389
      (Bruce Momjian)
 
390
     </P
 
391
></LI
 
392
><LI
 
393
><P
 
394
>      Fix one-byte buffer overrun in <SPAN
 
395
CLASS="APPLICATION"
 
396
>libpq</SPAN
 
397
>'s
 
398
      <CODE
 
399
CLASS="FUNCTION"
 
400
>PQprintTuples</CODE
 
401
> (Xi Wang)
 
402
     </P
 
403
><P
 
404
>      This ancient function is not used anywhere by
 
405
      <SPAN
 
406
CLASS="PRODUCTNAME"
 
407
>PostgreSQL</SPAN
 
408
> itself, but it might still be used by some
 
409
      client code.
 
410
     </P
 
411
></LI
 
412
><LI
 
413
><P
 
414
>      Make <SPAN
 
415
CLASS="APPLICATION"
 
416
>ecpglib</SPAN
 
417
> use translated messages properly
 
418
      (Chen Huajun)
 
419
     </P
 
420
></LI
 
421
><LI
 
422
><P
 
423
>      Properly install <SPAN
 
424
CLASS="APPLICATION"
 
425
>ecpg_compat</SPAN
 
426
> and
 
427
      <SPAN
 
428
CLASS="APPLICATION"
 
429
>pgtypes</SPAN
 
430
> libraries on MSVC (Jiang Guiqing)
 
431
     </P
 
432
></LI
 
433
><LI
 
434
><P
 
435
>      Include our version of <CODE
 
436
CLASS="FUNCTION"
 
437
>isinf()</CODE
 
438
> in
 
439
      <SPAN
 
440
CLASS="APPLICATION"
 
441
>libecpg</SPAN
 
442
> if it's not provided by the system
 
443
      (Jiang Guiqing)
 
444
     </P
 
445
></LI
 
446
><LI
 
447
><P
 
448
>      Rearrange configure's tests for supplied functions so it is not
 
449
      fooled by bogus exports from libedit/libreadline (Christoph Berg)
 
450
     </P
 
451
></LI
 
452
><LI
 
453
><P
 
454
>      Ensure Windows build number increases over time (Magnus Hagander)
 
455
     </P
 
456
></LI
 
457
><LI
 
458
><P
 
459
>      Make <SPAN
 
460
CLASS="APPLICATION"
 
461
>pgxs</SPAN
 
462
> build executables with the right
 
463
      <TT
 
464
CLASS="LITERAL"
 
465
>.exe</TT
 
466
> suffix when cross-compiling for Windows
 
467
      (Zoltan Boszormenyi)
 
468
     </P
 
469
></LI
 
470
><LI
 
471
><P
 
472
>      Add new timezone abbreviation <TT
 
473
CLASS="LITERAL"
 
474
>FET</TT
 
475
> (Tom Lane)
 
476
     </P
 
477
><P
 
478
>      This is now used in some eastern-European time zones.
 
479
     </P
 
480
></LI
 
481
></UL
 
482
></DIV
 
483
></DIV
 
484
><DIV
 
485
CLASS="NAVFOOTER"
 
486
><HR
 
487
ALIGN="LEFT"
 
488
WIDTH="100%"><TABLE
 
489
SUMMARY="Footer navigation table"
 
490
WIDTH="100%"
 
491
BORDER="0"
 
492
CELLPADDING="0"
 
493
CELLSPACING="0"
 
494
><TR
 
495
><TD
 
496
WIDTH="33%"
 
497
ALIGN="left"
 
498
VALIGN="top"
 
499
><A
 
500
HREF="release.html"
 
501
ACCESSKEY="P"
 
502
>Prev</A
 
503
></TD
 
504
><TD
 
505
WIDTH="34%"
 
506
ALIGN="center"
 
507
VALIGN="top"
 
508
><A
 
509
HREF="index.html"
 
510
ACCESSKEY="H"
 
511
>Home</A
 
512
></TD
 
513
><TD
 
514
WIDTH="33%"
 
515
ALIGN="right"
 
516
VALIGN="top"
 
517
><A
 
518
HREF="release-9-1-7.html"
 
519
ACCESSKEY="N"
 
520
>Next</A
 
521
></TD
 
522
></TR
 
523
><TR
 
524
><TD
 
525
WIDTH="33%"
 
526
ALIGN="left"
 
527
VALIGN="top"
 
528
>Release Notes</TD
 
529
><TD
 
530
WIDTH="34%"
 
531
ALIGN="center"
 
532
VALIGN="top"
 
533
><A
 
534
HREF="release.html"
 
535
ACCESSKEY="U"
 
536
>Up</A
 
537
></TD
 
538
><TD
 
539
WIDTH="33%"
 
540
ALIGN="right"
 
541
VALIGN="top"
 
542
>Release 9.1.7</TD
 
543
></TR
 
544
></TABLE
 
545
></DIV
 
546
></BODY
 
547
></HTML
 
548
>
 
 
b'\\ No newline at end of file'