~ubuntu-branches/ubuntu/utopic/postgresql-9.1/utopic

« back to all changes in this revision

Viewing changes to doc/src/sgml/html/release-9-0-12.html

  • Committer: Package Import Robot
  • Author(s): Christoph Berg, Martin Pitt, Christoph Berg
  • Date: 2013-02-05 14:15:33 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20130205141533-vkoy7oaxb0wehjv6
[ Martin Pitt ]
* Add autopkgtest, moved from postgresql-common.
* debian/rules: Only build the error codes and the plpython subtree for the
  "python3" flavor, to cut down build time.
* Add missing docbook build dependency. (Closes: #697618)

[ Christoph Berg ]
* New upstream version.
  + 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)

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.0.12</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 9.1"
 
19
HREF="release-9-1.html"><LINK
 
20
REL="NEXT"
 
21
TITLE="Release 9.0.11"
 
22
HREF="release-9-0-11.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 9.1"
 
57
HREF="release-9-1.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.0.11"
 
81
HREF="release-9-0-11.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-0-12"
 
96
>E.10. Release 9.0.12</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.0.11.
 
110
   For information about new features in the 9.0 major release, see
 
111
   <A
 
112
HREF="release-9-0.html"
 
113
>Section E.22</A
 
114
>.
 
115
  </P
 
116
><DIV
 
117
CLASS="SECT2"
 
118
><H2
 
119
CLASS="SECT2"
 
120
><A
 
121
NAME="AEN109162"
 
122
>E.10.1. Migration to Version 9.0.12</A
 
123
></H2
 
124
><P
 
125
>    A dump/restore is not required for those running 9.0.X.
 
126
   </P
 
127
><P
 
128
>    However, if you are upgrading from a version earlier than 9.0.6,
 
129
    see the release notes for 9.0.6.
 
130
   </P
 
131
></DIV
 
132
><DIV
 
133
CLASS="SECT2"
 
134
><H2
 
135
CLASS="SECT2"
 
136
><A
 
137
NAME="AEN109166"
 
138
>E.10.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 missing cancellations in hot standby mode (Noah Misch, Simon Riggs)
 
177
     </P
 
178
><P
 
179
>      The need to cancel conflicting hot-standby queries would sometimes be
 
180
      missed, allowing those queries to see inconsistent data.
 
181
     </P
 
182
></LI
 
183
><LI
 
184
><P
 
185
>      Fix SQL grammar to allow subscripting or field selection from a
 
186
      sub-SELECT result (Tom Lane)
 
187
     </P
 
188
></LI
 
189
><LI
 
190
><P
 
191
>      Fix performance problems with autovacuum truncation in busy workloads
 
192
      (Jan Wieck)
 
193
     </P
 
194
><P
 
195
>      Truncation of empty pages at the end of a table requires exclusive
 
196
      lock, but autovacuum was coded to fail (and release the table lock)
 
197
      when there are conflicting lock requests.  Under load, it is easily
 
198
      possible that truncation would never occur, resulting in table bloat.
 
199
      Fix by performing a partial truncation, releasing the lock, then
 
200
      attempting to re-acquire the lock and continue.  This fix also greatly
 
201
      reduces the average time before autovacuum releases the lock after a
 
202
      conflicting request arrives.
 
203
     </P
 
204
></LI
 
205
><LI
 
206
><P
 
207
>      Protect against race conditions when scanning
 
208
      <TT
 
209
CLASS="STRUCTNAME"
 
210
>pg_tablespace</TT
 
211
> (Stephen Frost, Tom Lane)
 
212
     </P
 
213
><P
 
214
>      <TT
 
215
CLASS="COMMAND"
 
216
>CREATE DATABASE</TT
 
217
> and <TT
 
218
CLASS="COMMAND"
 
219
>DROP DATABASE</TT
 
220
> could
 
221
      misbehave if there were concurrent updates of
 
222
      <TT
 
223
CLASS="STRUCTNAME"
 
224
>pg_tablespace</TT
 
225
> entries.
 
226
     </P
 
227
></LI
 
228
><LI
 
229
><P
 
230
>      Prevent <TT
 
231
CLASS="COMMAND"
 
232
>DROP OWNED</TT
 
233
> from trying to drop whole databases or
 
234
      tablespaces (&Aacute;lvaro Herrera)
 
235
     </P
 
236
><P
 
237
>      For safety, ownership of these objects must be reassigned, not dropped.
 
238
     </P
 
239
></LI
 
240
><LI
 
241
><P
 
242
>      Fix error in <A
 
243
HREF="runtime-config-client.html#GUC-VACUUM-FREEZE-TABLE-AGE"
 
244
><TT
 
245
CLASS="VARNAME"
 
246
>vacuum_freeze_table_age</TT
 
247
></A
 
248
>
 
249
      implementation (Andres Freund)
 
250
     </P
 
251
><P
 
252
>      The main consequence of this mistake is that lowering <A
 
253
HREF="runtime-config-client.html#GUC-VACUUM-FREEZE-MIN-AGE"
 
254
><TT
 
255
CLASS="VARNAME"
 
256
>vacuum_freeze_min_age</TT
 
257
></A
 
258
>
 
259
      would cause full-table vacuuming scans to occur much more frequently
 
260
      than intended.
 
261
     </P
 
262
></LI
 
263
><LI
 
264
><P
 
265
>      Prevent misbehavior when a <TT
 
266
CLASS="SYMBOL"
 
267
>RowExpr</TT
 
268
> or <TT
 
269
CLASS="SYMBOL"
 
270
>XmlExpr</TT
 
271
>
 
272
      is parse-analyzed twice (Andres Freund, Tom Lane)
 
273
     </P
 
274
><P
 
275
>      This mistake could be user-visible in contexts such as
 
276
      <TT
 
277
CLASS="LITERAL"
 
278
>CREATE TABLE LIKE INCLUDING INDEXES</TT
 
279
>.
 
280
     </P
 
281
></LI
 
282
><LI
 
283
><P
 
284
>      Improve defenses against integer overflow in hashtable sizing
 
285
      calculations (Jeff Davis)
 
286
     </P
 
287
></LI
 
288
><LI
 
289
><P
 
290
>      Reject out-of-range dates in <CODE
 
291
CLASS="FUNCTION"
 
292
>to_date()</CODE
 
293
> (Hitoshi Harada)
 
294
     </P
 
295
></LI
 
296
><LI
 
297
><P
 
298
>      Ensure that non-ASCII prompt strings are translated to the correct
 
299
      code page on Windows (Alexander Law, Noah Misch)
 
300
     </P
 
301
><P
 
302
>      This bug affected <SPAN
 
303
CLASS="APPLICATION"
 
304
>psql</SPAN
 
305
> and some other client programs.
 
306
     </P
 
307
></LI
 
308
><LI
 
309
><P
 
310
>      Fix possible crash in <SPAN
 
311
CLASS="APPLICATION"
 
312
>psql</SPAN
 
313
>'s <TT
 
314
CLASS="COMMAND"
 
315
>\?</TT
 
316
> command
 
317
      when not connected to a database (Meng Qingzhong)
 
318
     </P
 
319
></LI
 
320
><LI
 
321
><P
 
322
>      Fix <SPAN
 
323
CLASS="APPLICATION"
 
324
>pg_upgrade</SPAN
 
325
> to deal with invalid indexes safely
 
326
      (Bruce Momjian)
 
327
     </P
 
328
></LI
 
329
><LI
 
330
><P
 
331
>      Fix one-byte buffer overrun in <SPAN
 
332
CLASS="APPLICATION"
 
333
>libpq</SPAN
 
334
>'s
 
335
      <CODE
 
336
CLASS="FUNCTION"
 
337
>PQprintTuples</CODE
 
338
> (Xi Wang)
 
339
     </P
 
340
><P
 
341
>      This ancient function is not used anywhere by
 
342
      <SPAN
 
343
CLASS="PRODUCTNAME"
 
344
>PostgreSQL</SPAN
 
345
> itself, but it might still be used by some
 
346
      client code.
 
347
     </P
 
348
></LI
 
349
><LI
 
350
><P
 
351
>      Make <SPAN
 
352
CLASS="APPLICATION"
 
353
>ecpglib</SPAN
 
354
> use translated messages properly
 
355
      (Chen Huajun)
 
356
     </P
 
357
></LI
 
358
><LI
 
359
><P
 
360
>      Properly install <SPAN
 
361
CLASS="APPLICATION"
 
362
>ecpg_compat</SPAN
 
363
> and
 
364
      <SPAN
 
365
CLASS="APPLICATION"
 
366
>pgtypes</SPAN
 
367
> libraries on MSVC (Jiang Guiqing)
 
368
     </P
 
369
></LI
 
370
><LI
 
371
><P
 
372
>      Include our version of <CODE
 
373
CLASS="FUNCTION"
 
374
>isinf()</CODE
 
375
> in
 
376
      <SPAN
 
377
CLASS="APPLICATION"
 
378
>libecpg</SPAN
 
379
> if it's not provided by the system
 
380
      (Jiang Guiqing)
 
381
     </P
 
382
></LI
 
383
><LI
 
384
><P
 
385
>      Rearrange configure's tests for supplied functions so it is not
 
386
      fooled by bogus exports from libedit/libreadline (Christoph Berg)
 
387
     </P
 
388
></LI
 
389
><LI
 
390
><P
 
391
>      Ensure Windows build number increases over time (Magnus Hagander)
 
392
     </P
 
393
></LI
 
394
><LI
 
395
><P
 
396
>      Make <SPAN
 
397
CLASS="APPLICATION"
 
398
>pgxs</SPAN
 
399
> build executables with the right
 
400
      <TT
 
401
CLASS="LITERAL"
 
402
>.exe</TT
 
403
> suffix when cross-compiling for Windows
 
404
      (Zoltan Boszormenyi)
 
405
     </P
 
406
></LI
 
407
><LI
 
408
><P
 
409
>      Add new timezone abbreviation <TT
 
410
CLASS="LITERAL"
 
411
>FET</TT
 
412
> (Tom Lane)
 
413
     </P
 
414
><P
 
415
>      This is now used in some eastern-European time zones.
 
416
     </P
 
417
></LI
 
418
></UL
 
419
></DIV
 
420
></DIV
 
421
><DIV
 
422
CLASS="NAVFOOTER"
 
423
><HR
 
424
ALIGN="LEFT"
 
425
WIDTH="100%"><TABLE
 
426
SUMMARY="Footer navigation table"
 
427
WIDTH="100%"
 
428
BORDER="0"
 
429
CELLPADDING="0"
 
430
CELLSPACING="0"
 
431
><TR
 
432
><TD
 
433
WIDTH="33%"
 
434
ALIGN="left"
 
435
VALIGN="top"
 
436
><A
 
437
HREF="release-9-1.html"
 
438
ACCESSKEY="P"
 
439
>Prev</A
 
440
></TD
 
441
><TD
 
442
WIDTH="34%"
 
443
ALIGN="center"
 
444
VALIGN="top"
 
445
><A
 
446
HREF="index.html"
 
447
ACCESSKEY="H"
 
448
>Home</A
 
449
></TD
 
450
><TD
 
451
WIDTH="33%"
 
452
ALIGN="right"
 
453
VALIGN="top"
 
454
><A
 
455
HREF="release-9-0-11.html"
 
456
ACCESSKEY="N"
 
457
>Next</A
 
458
></TD
 
459
></TR
 
460
><TR
 
461
><TD
 
462
WIDTH="33%"
 
463
ALIGN="left"
 
464
VALIGN="top"
 
465
>Release 9.1</TD
 
466
><TD
 
467
WIDTH="34%"
 
468
ALIGN="center"
 
469
VALIGN="top"
 
470
><A
 
471
HREF="release.html"
 
472
ACCESSKEY="U"
 
473
>Up</A
 
474
></TD
 
475
><TD
 
476
WIDTH="33%"
 
477
ALIGN="right"
 
478
VALIGN="top"
 
479
>Release 9.0.11</TD
 
480
></TR
 
481
></TABLE
 
482
></DIV
 
483
></BODY
 
484
></HTML
 
485
>
 
 
b'\\ No newline at end of file'