~ubuntu-branches/ubuntu/trusty/postgresql-9.3/trusty-proposed

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2014-07-24 16:13:59 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20140724161359-uk325qfv03euxuuh
Tags: 9.3.5-0ubuntu0.14.04.1
* New upstream bug fix release: (LP: #1348176)
  - pg_upgrade: Users who upgraded to version 9.3 using pg_upgrade may have
    an issue with transaction information which causes VACUUM to eventually
    fail. These users should run the script provided in the release notes to
    determine if their installation is affected, and then take the remedy
    steps outlined there.
  - Various data integrity and other bug fixes.
  - Secure Unix-domain sockets of temporary postmasters started during make
    check.
    Any local user able to access the socket file could connect as the
    server's bootstrap superuser, then proceed to execute arbitrary code as
    the operating-system user running the test, as we previously noted in
    CVE-2014-0067. This change defends against that risk by placing the
    server's socket in a temporary, mode 0700 subdirectory of /tmp.
  - See release notes for details:
    http://www.postgresql.org/about/news/1534/
* Remove pg_regress patches to support --host=/path, obsolete with above
  upstream changes and not applicable any more.
* Drop tcl8.6 patch, applied upstream.
* Add missing logrotate test dependency.

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.14</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.3.5 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.2"
 
19
HREF="release-9-2.html"><LINK
 
20
REL="NEXT"
 
21
TITLE="Release 9.1.13"
 
22
HREF="release-9-1-13.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="2014-07-21T19:26:29"></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.3.5 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.2"
 
57
HREF="release-9-2.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.13"
 
81
HREF="release-9-1-13.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-14"
 
96
>E.17. Release 9.1.14</A
 
97
></H1
 
98
><DIV
 
99
CLASS="NOTE"
 
100
><BLOCKQUOTE
 
101
CLASS="NOTE"
 
102
><P
 
103
><B
 
104
>Release Date: </B
 
105
>2014-07-24</P
 
106
></BLOCKQUOTE
 
107
></DIV
 
108
><P
 
109
>   This release contains a variety of fixes from 9.1.13.
 
110
   For information about new features in the 9.1 major release, see
 
111
   <A
 
112
HREF="release-9-1.html"
 
113
>Section E.31</A
 
114
>.
 
115
  </P
 
116
><DIV
 
117
CLASS="SECT2"
 
118
><H2
 
119
CLASS="SECT2"
 
120
><A
 
121
NAME="AEN118959"
 
122
>E.17.1. Migration to Version 9.1.14</A
 
123
></H2
 
124
><P
 
125
>    A dump/restore is not required for those running 9.1.X.
 
126
   </P
 
127
><P
 
128
>    However, this release corrects an index corruption problem in some GiST
 
129
    indexes.  See the first changelog entry below to find out whether your
 
130
    installation has been affected and what steps you should take if so.
 
131
   </P
 
132
><P
 
133
>    Also, if you are upgrading from a version earlier than 9.1.11,
 
134
    see <A
 
135
HREF="release-9-1-11.html"
 
136
>Section E.20</A
 
137
>.
 
138
   </P
 
139
></DIV
 
140
><DIV
 
141
CLASS="SECT2"
 
142
><H2
 
143
CLASS="SECT2"
 
144
><A
 
145
NAME="AEN118965"
 
146
>E.17.2. Changes</A
 
147
></H2
 
148
><P
 
149
></P
 
150
><UL
 
151
><LI
 
152
><P
 
153
>      Correctly initialize padding bytes in <TT
 
154
CLASS="FILENAME"
 
155
>contrib/btree_gist</TT
 
156
>
 
157
      indexes on <TT
 
158
CLASS="TYPE"
 
159
>bit</TT
 
160
> columns (Heikki Linnakangas)
 
161
     </P
 
162
><P
 
163
>      This error could result in incorrect query results due to values that
 
164
      should compare equal not being seen as equal.
 
165
      Users with GiST indexes on <TT
 
166
CLASS="TYPE"
 
167
>bit</TT
 
168
> or <TT
 
169
CLASS="TYPE"
 
170
>bit varying</TT
 
171
>
 
172
      columns should <TT
 
173
CLASS="COMMAND"
 
174
>REINDEX</TT
 
175
> those indexes after installing this
 
176
      update.
 
177
     </P
 
178
></LI
 
179
><LI
 
180
><P
 
181
>      Protect against torn pages when deleting GIN list pages (Heikki
 
182
      Linnakangas)
 
183
     </P
 
184
><P
 
185
>      This fix prevents possible index corruption if a system crash occurs
 
186
      while the page update is being written to disk.
 
187
     </P
 
188
></LI
 
189
><LI
 
190
><P
 
191
>      Don't clear the right-link of a GiST index page while replaying
 
192
      updates from WAL (Heikki Linnakangas)
 
193
     </P
 
194
><P
 
195
>      This error could lead to transiently wrong answers from GiST index
 
196
      scans performed in Hot Standby.
 
197
     </P
 
198
></LI
 
199
><LI
 
200
><P
 
201
>      Fix feedback status when <A
 
202
HREF="runtime-config-replication.html#GUC-HOT-STANDBY-FEEDBACK"
 
203
>hot_standby_feedback</A
 
204
> is
 
205
      turned off on-the-fly (Simon Riggs)
 
206
     </P
 
207
></LI
 
208
><LI
 
209
><P
 
210
>      Fix possibly-incorrect cache invalidation during nested calls
 
211
      to <CODE
 
212
CLASS="FUNCTION"
 
213
>ReceiveSharedInvalidMessages</CODE
 
214
> (Andres Freund)
 
215
     </P
 
216
></LI
 
217
><LI
 
218
><P
 
219
>      Fix <SPAN
 
220
CLASS="QUOTE"
 
221
>"could not find pathkey item to sort"</SPAN
 
222
> planner failures
 
223
      with <TT
 
224
CLASS="LITERAL"
 
225
>UNION ALL</TT
 
226
> over subqueries reading from tables with
 
227
      inheritance children (Tom Lane)
 
228
     </P
 
229
></LI
 
230
><LI
 
231
><P
 
232
>      Don't assume a subquery's output is unique if there's a set-returning
 
233
      function in its targetlist (David Rowley)
 
234
     </P
 
235
><P
 
236
>      This oversight could lead to misoptimization of constructs
 
237
      like <TT
 
238
CLASS="LITERAL"
 
239
>WHERE x IN (SELECT y, generate_series(1,10) FROM t GROUP
 
240
      BY y)</TT
 
241
>.
 
242
     </P
 
243
></LI
 
244
><LI
 
245
><P
 
246
>      Fix failure to detoast fields in composite elements of structured
 
247
      types (Tom Lane)
 
248
     </P
 
249
><P
 
250
>      This corrects cases where TOAST pointers could be copied into other
 
251
      tables without being dereferenced.  If the original data is later
 
252
      deleted, it would lead to errors like <SPAN
 
253
CLASS="QUOTE"
 
254
>"missing chunk number 0
 
255
      for toast value ..."</SPAN
 
256
> when the now-dangling pointer is used.
 
257
     </P
 
258
></LI
 
259
><LI
 
260
><P
 
261
>      Fix <SPAN
 
262
CLASS="QUOTE"
 
263
>"record type has not been registered"</SPAN
 
264
> failures with
 
265
      whole-row references to the output of Append plan nodes (Tom Lane)
 
266
     </P
 
267
></LI
 
268
><LI
 
269
><P
 
270
>      Fix possible crash when invoking a user-defined function while
 
271
      rewinding a cursor (Tom Lane)
 
272
     </P
 
273
></LI
 
274
><LI
 
275
><P
 
276
>      Fix query-lifespan memory leak while evaluating the arguments for a
 
277
      function in <TT
 
278
CLASS="LITERAL"
 
279
>FROM</TT
 
280
> (Tom Lane)
 
281
     </P
 
282
></LI
 
283
><LI
 
284
><P
 
285
>      Fix session-lifespan memory leaks in regular-expression processing
 
286
      (Tom Lane, Arthur O'Dwyer, Greg Stark)
 
287
     </P
 
288
></LI
 
289
><LI
 
290
><P
 
291
>      Fix data encoding error in <TT
 
292
CLASS="FILENAME"
 
293
>hungarian.stop</TT
 
294
> (Tom Lane)
 
295
     </P
 
296
></LI
 
297
><LI
 
298
><P
 
299
>      Prevent foreign tables from being created with OIDS
 
300
      when <A
 
301
HREF="runtime-config-compatible.html#GUC-DEFAULT-WITH-OIDS"
 
302
>default_with_oids</A
 
303
> is true
 
304
      (Etsuro Fujita)
 
305
     </P
 
306
></LI
 
307
><LI
 
308
><P
 
309
>      Fix liveness checks for rows that were inserted in the current
 
310
      transaction and then deleted by a now-rolled-back subtransaction
 
311
      (Andres Freund)
 
312
     </P
 
313
><P
 
314
>      This could cause problems (at least spurious warnings, and at worst an
 
315
      infinite loop) if <TT
 
316
CLASS="COMMAND"
 
317
>CREATE INDEX</TT
 
318
> or <TT
 
319
CLASS="COMMAND"
 
320
>CLUSTER</TT
 
321
> were
 
322
      done later in the same transaction.
 
323
     </P
 
324
></LI
 
325
><LI
 
326
><P
 
327
>      Clear <TT
 
328
CLASS="STRUCTNAME"
 
329
>pg_stat_activity</TT
 
330
>.<TT
 
331
CLASS="STRUCTFIELD"
 
332
>xact_start</TT
 
333
>
 
334
      during <TT
 
335
CLASS="COMMAND"
 
336
>PREPARE TRANSACTION</TT
 
337
> (Andres Freund)
 
338
     </P
 
339
><P
 
340
>      After the <TT
 
341
CLASS="COMMAND"
 
342
>PREPARE</TT
 
343
>, the originating session is no longer in
 
344
      a transaction, so it should not continue to display a transaction
 
345
      start time.
 
346
     </P
 
347
></LI
 
348
><LI
 
349
><P
 
350
>      Fix <TT
 
351
CLASS="COMMAND"
 
352
>REASSIGN OWNED</TT
 
353
> to not fail for text search objects
 
354
      (&Aacute;lvaro Herrera)
 
355
     </P
 
356
></LI
 
357
><LI
 
358
><P
 
359
>      Block signals during postmaster startup (Tom Lane)
 
360
     </P
 
361
><P
 
362
>      This ensures that the postmaster will properly clean up after itself
 
363
      if, for example, it receives <SPAN
 
364
CLASS="SYSTEMITEM"
 
365
>SIGINT</SPAN
 
366
> while still
 
367
      starting up.
 
368
     </P
 
369
></LI
 
370
><LI
 
371
><P
 
372
>      Fix client host name lookup when processing <TT
 
373
CLASS="FILENAME"
 
374
>pg_hba.conf</TT
 
375
>
 
376
      entries that specify host names instead of IP addresses (Tom Lane)
 
377
     </P
 
378
><P
 
379
>      Ensure that reverse-DNS lookup failures are reported, instead of just
 
380
      silently not matching such entries.  Also ensure that we make only
 
381
      one reverse-DNS lookup attempt per connection, not one per host name
 
382
      entry, which is what previously happened if the lookup attempts failed.
 
383
     </P
 
384
></LI
 
385
><LI
 
386
><P
 
387
>      Secure Unix-domain sockets of temporary postmasters started during
 
388
      <TT
 
389
CLASS="LITERAL"
 
390
>make check</TT
 
391
> (Noah Misch)
 
392
     </P
 
393
><P
 
394
>      Any local user able to access the socket file could connect as the
 
395
      server's bootstrap superuser, then proceed to execute arbitrary code as
 
396
      the operating-system user running the test, as we previously noted in
 
397
      CVE-2014-0067.  This change defends against that risk by placing the
 
398
      server's socket in a temporary, mode 0700 subdirectory
 
399
      of <TT
 
400
CLASS="FILENAME"
 
401
>/tmp</TT
 
402
>.  The hazard remains however on platforms where
 
403
      Unix sockets are not supported, notably Windows, because then the
 
404
      temporary postmaster must accept local TCP connections.
 
405
     </P
 
406
><P
 
407
>      A useful side effect of this change is to simplify
 
408
      <TT
 
409
CLASS="LITERAL"
 
410
>make check</TT
 
411
> testing in builds that
 
412
      override <TT
 
413
CLASS="LITERAL"
 
414
>DEFAULT_PGSOCKET_DIR</TT
 
415
>.  Popular non-default values
 
416
      like <TT
 
417
CLASS="FILENAME"
 
418
>/var/run/postgresql</TT
 
419
> are often not writable by the
 
420
      build user, requiring workarounds that will no longer be necessary.
 
421
     </P
 
422
></LI
 
423
><LI
 
424
><P
 
425
>      Fix tablespace creation WAL replay to work on Windows (MauMau)
 
426
     </P
 
427
></LI
 
428
><LI
 
429
><P
 
430
>      Fix detection of socket creation failures on Windows (Bruce Momjian)
 
431
     </P
 
432
></LI
 
433
><LI
 
434
><P
 
435
>      On Windows, allow new sessions to absorb values of PGC_BACKEND
 
436
      parameters (such as <A
 
437
HREF="runtime-config-logging.html#GUC-LOG-CONNECTIONS"
 
438
>log_connections</A
 
439
>) from the
 
440
      configuration file (Amit Kapila)
 
441
     </P
 
442
><P
 
443
>      Previously, if such a parameter were changed in the file post-startup,
 
444
      the change would have no effect.
 
445
     </P
 
446
></LI
 
447
><LI
 
448
><P
 
449
>      Properly quote executable path names on Windows (Nikhil Deshpande)
 
450
     </P
 
451
><P
 
452
>      This oversight could cause <SPAN
 
453
CLASS="APPLICATION"
 
454
>initdb</SPAN
 
455
>
 
456
      and <SPAN
 
457
CLASS="APPLICATION"
 
458
>pg_upgrade</SPAN
 
459
> to fail on Windows, if the installation
 
460
      path contained both spaces and <TT
 
461
CLASS="LITERAL"
 
462
>@</TT
 
463
> signs.
 
464
     </P
 
465
></LI
 
466
><LI
 
467
><P
 
468
>      Fix linking of <SPAN
 
469
CLASS="APPLICATION"
 
470
>libpython</SPAN
 
471
> on OS X (Tom Lane)
 
472
     </P
 
473
><P
 
474
>      The method we previously used can fail with the Python library
 
475
      supplied by Xcode 5.0 and later.
 
476
     </P
 
477
></LI
 
478
><LI
 
479
><P
 
480
>      Avoid buffer bloat in <SPAN
 
481
CLASS="APPLICATION"
 
482
>libpq</SPAN
 
483
> when the server
 
484
      consistently sends data faster than the client can absorb it
 
485
      (Shin-ichi Morita, Tom Lane)
 
486
     </P
 
487
><P
 
488
>      <SPAN
 
489
CLASS="APPLICATION"
 
490
>libpq</SPAN
 
491
> could be coerced into enlarging its input buffer
 
492
      until it runs out of memory (which would be reported misleadingly
 
493
      as <SPAN
 
494
CLASS="QUOTE"
 
495
>"lost synchronization with server"</SPAN
 
496
>).  Under ordinary
 
497
      circumstances it's quite far-fetched that data could be continuously
 
498
      transmitted more quickly than the <CODE
 
499
CLASS="FUNCTION"
 
500
>recv()</CODE
 
501
> loop can
 
502
      absorb it, but this has been observed when the client is artificially
 
503
      slowed by scheduler constraints.
 
504
     </P
 
505
></LI
 
506
><LI
 
507
><P
 
508
>      Ensure that LDAP lookup attempts in <SPAN
 
509
CLASS="APPLICATION"
 
510
>libpq</SPAN
 
511
> time out as
 
512
      intended (Laurenz Albe)
 
513
     </P
 
514
></LI
 
515
><LI
 
516
><P
 
517
>      Fix <SPAN
 
518
CLASS="APPLICATION"
 
519
>ecpg</SPAN
 
520
> to do the right thing when an array
 
521
      of <TT
 
522
CLASS="TYPE"
 
523
>char *</TT
 
524
> is the target for a FETCH statement returning more
 
525
      than one row, as well as some other array-handling fixes
 
526
      (Ashutosh Bapat)
 
527
     </P
 
528
></LI
 
529
><LI
 
530
><P
 
531
>      Fix <SPAN
 
532
CLASS="APPLICATION"
 
533
>pg_restore</SPAN
 
534
>'s processing of old-style large object
 
535
      comments (Tom Lane)
 
536
     </P
 
537
><P
 
538
>      A direct-to-database restore from an archive file generated by a
 
539
      pre-9.0 version of <SPAN
 
540
CLASS="APPLICATION"
 
541
>pg_dump</SPAN
 
542
> would usually fail if the
 
543
      archive contained more than a few comments for large objects.
 
544
     </P
 
545
></LI
 
546
><LI
 
547
><P
 
548
>      In <TT
 
549
CLASS="FILENAME"
 
550
>contrib/pgcrypto</TT
 
551
> functions, ensure sensitive
 
552
      information is cleared from stack variables before returning
 
553
      (Marko Kreen)
 
554
     </P
 
555
></LI
 
556
><LI
 
557
><P
 
558
>      In <TT
 
559
CLASS="FILENAME"
 
560
>contrib/uuid-ossp</TT
 
561
>, cache the state of the OSSP UUID
 
562
      library across calls (Tom Lane)
 
563
     </P
 
564
><P
 
565
>      This improves the efficiency of UUID generation and reduces the amount
 
566
      of entropy drawn from <TT
 
567
CLASS="FILENAME"
 
568
>/dev/urandom</TT
 
569
>, on platforms that
 
570
      have that.
 
571
     </P
 
572
></LI
 
573
><LI
 
574
><P
 
575
>      Update time zone data files to <SPAN
 
576
CLASS="APPLICATION"
 
577
>tzdata</SPAN
 
578
> release 2014e
 
579
      for DST law changes in Crimea, Egypt, and Morocco.
 
580
     </P
 
581
></LI
 
582
></UL
 
583
></DIV
 
584
></DIV
 
585
><DIV
 
586
CLASS="NAVFOOTER"
 
587
><HR
 
588
ALIGN="LEFT"
 
589
WIDTH="100%"><TABLE
 
590
SUMMARY="Footer navigation table"
 
591
WIDTH="100%"
 
592
BORDER="0"
 
593
CELLPADDING="0"
 
594
CELLSPACING="0"
 
595
><TR
 
596
><TD
 
597
WIDTH="33%"
 
598
ALIGN="left"
 
599
VALIGN="top"
 
600
><A
 
601
HREF="release-9-2.html"
 
602
ACCESSKEY="P"
 
603
>Prev</A
 
604
></TD
 
605
><TD
 
606
WIDTH="34%"
 
607
ALIGN="center"
 
608
VALIGN="top"
 
609
><A
 
610
HREF="index.html"
 
611
ACCESSKEY="H"
 
612
>Home</A
 
613
></TD
 
614
><TD
 
615
WIDTH="33%"
 
616
ALIGN="right"
 
617
VALIGN="top"
 
618
><A
 
619
HREF="release-9-1-13.html"
 
620
ACCESSKEY="N"
 
621
>Next</A
 
622
></TD
 
623
></TR
 
624
><TR
 
625
><TD
 
626
WIDTH="33%"
 
627
ALIGN="left"
 
628
VALIGN="top"
 
629
>Release 9.2</TD
 
630
><TD
 
631
WIDTH="34%"
 
632
ALIGN="center"
 
633
VALIGN="top"
 
634
><A
 
635
HREF="release.html"
 
636
ACCESSKEY="U"
 
637
>Up</A
 
638
></TD
 
639
><TD
 
640
WIDTH="33%"
 
641
ALIGN="right"
 
642
VALIGN="top"
 
643
>Release 9.1.13</TD
 
644
></TR
 
645
></TABLE
 
646
></DIV
 
647
></BODY
 
648
></HTML
 
649
>
 
 
b'\\ No newline at end of file'