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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Release 8.4.10</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REV="MADE"
HREF="mailto:pgsql-docs@postgresql.org"><LINK
REL="HOME"
TITLE="PostgreSQL 9.3.13 Documentation"
HREF="index.html"><LINK
REL="UP"
TITLE="Release Notes"
HREF="release.html"><LINK
REL="PREVIOUS"
TITLE="Release 8.4.11"
HREF="release-8-4-11.html"><LINK
REL="NEXT"
TITLE="Release 8.4.9"
HREF="release-8-4-9.html"><LINK
REL="STYLESHEET"
TYPE="text/css"
HREF="stylesheet.css"><META
HTTP-EQUIV="Content-Type"
CONTENT="text/html; charset=ISO-8859-1"><META
NAME="creation"
CONTENT="2016-05-09T21:13:26"></HEAD
><BODY
CLASS="SECT1"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="5"
ALIGN="center"
VALIGN="bottom"
><A
HREF="index.html"
>PostgreSQL 9.3.13 Documentation</A
></TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="top"
><A
TITLE="Release 8.4.11"
HREF="release-8-4-11.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="top"
><A
HREF="release.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="60%"
ALIGN="center"
VALIGN="bottom"
>Appendix E. Release Notes</TD
><TD
WIDTH="20%"
ALIGN="right"
VALIGN="top"
><A
TITLE="Release 8.4.9"
HREF="release-8-4-9.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="RELEASE-8-4-10"
>E.92. Release 8.4.10</A
></H1
><DIV
CLASS="NOTE"
><BLOCKQUOTE
CLASS="NOTE"
><P
><B
>Release Date: </B
>2011-12-05</P
></BLOCKQUOTE
></DIV
><P
>   This release contains a variety of fixes from 8.4.9.
   For information about new features in the 8.4 major release, see
   <A
HREF="release-8-4.html"
>Section E.102</A
>.
  </P
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN132095"
>E.92.1. Migration to Version 8.4.10</A
></H2
><P
>    A dump/restore is not required for those running 8.4.X.
   </P
><P
>    However, a longstanding error was discovered in the definition of the
    <TT
CLASS="LITERAL"
>information_schema.referential_constraints</TT
> view.  If you
    rely on correct results from that view, you should replace its
    definition as explained in the first changelog item below.
   </P
><P
>    Also, if you are upgrading from a version earlier than 8.4.8,
    see <A
HREF="release-8-4-8.html"
>Section E.94</A
>.
   </P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN132102"
>E.92.2. Changes</A
></H2
><P
></P
><UL
><LI
><P
>      Fix bugs in <TT
CLASS="LITERAL"
>information_schema.referential_constraints</TT
> view
      (Tom Lane)
     </P
><P
>      This view was being insufficiently careful about matching the
      foreign-key constraint to the depended-on primary or unique key
      constraint.  That could result in failure to show a foreign key
      constraint at all, or showing it multiple times, or claiming that it
      depends on a different constraint than the one it really does.
     </P
><P
>      Since the view definition is installed by <SPAN
CLASS="APPLICATION"
>initdb</SPAN
>,
      merely upgrading will not fix the problem.  If you need to fix this
      in an existing installation, you can (as a superuser) drop the
      <TT
CLASS="LITERAL"
>information_schema</TT
> schema then re-create it by sourcing
      <TT
CLASS="FILENAME"
><TT
CLASS="REPLACEABLE"
><I
>SHAREDIR</I
></TT
>/information_schema.sql</TT
>.
      (Run <TT
CLASS="LITERAL"
>pg_config --sharedir</TT
> if you're uncertain where
      <TT
CLASS="REPLACEABLE"
><I
>SHAREDIR</I
></TT
> is.)  This must be repeated in each database
      to be fixed.
     </P
></LI
><LI
><P
>      Fix incorrect replay of WAL records for GIN index updates
      (Tom Lane)
     </P
><P
>      This could result in transiently failing to find index entries after
      a crash, or on a hot-standby server.  The problem would be repaired
      by the next <TT
CLASS="COMMAND"
>VACUUM</TT
> of the index, however.
     </P
></LI
><LI
><P
>      Fix TOAST-related data corruption during <TT
CLASS="LITERAL"
>CREATE TABLE dest AS
      SELECT * FROM src</TT
> or <TT
CLASS="LITERAL"
>INSERT INTO dest SELECT * FROM src</TT
>
      (Tom Lane)
     </P
><P
>      If a table has been modified by <TT
CLASS="COMMAND"
>ALTER TABLE ADD COLUMN</TT
>,
      attempts to copy its data verbatim to another table could produce
      corrupt results in certain corner cases.
      The problem can only manifest in this precise form in 8.4 and later,
      but we patched earlier versions as well in case there are other code
      paths that could trigger the same bug.
     </P
></LI
><LI
><P
>      Fix race condition during toast table access from stale syscache entries
      (Tom Lane)
     </P
><P
>      The typical symptom was transient errors like <SPAN
CLASS="QUOTE"
>"missing chunk
      number 0 for toast value NNNNN in pg_toast_2619"</SPAN
>, where the cited
      toast table would always belong to a system catalog.
     </P
></LI
><LI
><P
>      Track dependencies of functions on items used in parameter default
      expressions (Tom Lane)
     </P
><P
>      Previously, a referenced object could be dropped without having dropped
      or modified the function, leading to misbehavior when the function was
      used.  Note that merely installing this update will not fix the missing
      dependency entries; to do that, you'd need to <TT
CLASS="COMMAND"
>CREATE OR
      REPLACE</TT
> each such function afterwards.  If you have functions whose
      defaults depend on non-built-in objects, doing so is recommended.
     </P
></LI
><LI
><P
>      Allow inlining of set-returning SQL functions with multiple OUT
      parameters (Tom Lane)
     </P
></LI
><LI
><P
>      Make <CODE
CLASS="FUNCTION"
>DatumGetInetP()</CODE
> unpack inet datums that have a 1-byte
      header, and add a new macro, <CODE
CLASS="FUNCTION"
>DatumGetInetPP()</CODE
>, that does
      not (Heikki Linnakangas)
     </P
><P
>      This change affects no core code, but might prevent crashes in add-on
      code that expects <CODE
CLASS="FUNCTION"
>DatumGetInetP()</CODE
> to produce an unpacked
      datum as per usual convention.
     </P
></LI
><LI
><P
>      Improve locale support in <TT
CLASS="TYPE"
>money</TT
> type's input and output
      (Tom Lane)
     </P
><P
>      Aside from not supporting all standard
      <A
HREF="runtime-config-client.html#GUC-LC-MONETARY"
><TT
CLASS="VARNAME"
>lc_monetary</TT
></A
>
      formatting options, the input and output functions were inconsistent,
      meaning there were locales in which dumped <TT
CLASS="TYPE"
>money</TT
> values could
      not be re-read.
     </P
></LI
><LI
><P
>      Don't let <A
HREF="runtime-config-compatible.html#GUC-TRANSFORM-NULL-EQUALS"
><TT
CLASS="VARNAME"
>transform_null_equals</TT
></A
>
      affect <TT
CLASS="LITERAL"
>CASE foo WHEN NULL ...</TT
> constructs
      (Heikki Linnakangas)
     </P
><P
>      <TT
CLASS="VARNAME"
>transform_null_equals</TT
> is only supposed to affect
      <TT
CLASS="LITERAL"
>foo = NULL</TT
> expressions written directly by the user, not
      equality checks generated internally by this form of <TT
CLASS="LITERAL"
>CASE</TT
>.
     </P
></LI
><LI
><P
>      Change foreign-key trigger creation order to better support
      self-referential foreign keys (Tom Lane)
     </P
><P
>      For a cascading foreign key that references its own table, a row update
      will fire both the <TT
CLASS="LITERAL"
>ON UPDATE</TT
> trigger and the
      <TT
CLASS="LITERAL"
>CHECK</TT
> trigger as one event.  The <TT
CLASS="LITERAL"
>ON UPDATE</TT
>
      trigger must execute first, else the <TT
CLASS="LITERAL"
>CHECK</TT
> will check a
      non-final state of the row and possibly throw an inappropriate error.
      However, the firing order of these triggers is determined by their
      names, which generally sort in creation order since the triggers have
      auto-generated names following the convention
      <SPAN
CLASS="QUOTE"
>"RI_ConstraintTrigger_NNNN"</SPAN
>.  A proper fix would require
      modifying that convention, which we will do in 9.2, but it seems risky
      to change it in existing releases.  So this patch just changes the
      creation order of the triggers.  Users encountering this type of error
      should drop and re-create the foreign key constraint to get its
      triggers into the right order.
     </P
></LI
><LI
><P
>      Avoid floating-point underflow while tracking buffer allocation rate
      (Greg Matthews)
     </P
><P
>      While harmless in itself, on certain platforms this would result in
      annoying kernel log messages.
     </P
></LI
><LI
><P
>      Preserve configuration file name and line number values when starting
      child processes under Windows (Tom Lane)
     </P
><P
>      Formerly, these would not be displayed correctly in the
      <TT
CLASS="STRUCTNAME"
>pg_settings</TT
> view.
     </P
></LI
><LI
><P
>      Preserve blank lines within commands in <SPAN
CLASS="APPLICATION"
>psql</SPAN
>'s command
      history (Robert Haas)
     </P
><P
>      The former behavior could cause problems if an empty line was removed
      from within a string literal, for example.
     </P
></LI
><LI
><P
>      Fix <SPAN
CLASS="APPLICATION"
>pg_dump</SPAN
> to dump user-defined casts between
      auto-generated types, such as table rowtypes (Tom Lane)
     </P
></LI
><LI
><P
>      Use the preferred version of <SPAN
CLASS="APPLICATION"
>xsubpp</SPAN
> to build PL/Perl,
      not necessarily the operating system's main copy
      (David Wheeler and Alex Hunsaker)
     </P
></LI
><LI
><P
>      Fix incorrect coding in <TT
CLASS="FILENAME"
>contrib/dict_int</TT
> and
      <TT
CLASS="FILENAME"
>contrib/dict_xsyn</TT
> (Tom Lane)
     </P
><P
>      Some functions incorrectly assumed that memory returned by
      <CODE
CLASS="FUNCTION"
>palloc()</CODE
> is guaranteed zeroed.
     </P
></LI
><LI
><P
>      Honor query cancel interrupts promptly in <CODE
CLASS="FUNCTION"
>pgstatindex()</CODE
>
      (Robert Haas)
     </P
></LI
><LI
><P
>      Ensure VPATH builds properly install all server header files
      (Peter Eisentraut)
     </P
></LI
><LI
><P
>      Shorten file names reported in verbose error messages (Peter Eisentraut)
     </P
><P
>      Regular builds have always reported just the name of the C file
      containing the error message call, but VPATH builds formerly
      reported an absolute path name.
     </P
></LI
><LI
><P
>      Fix interpretation of Windows timezone names for Central America
      (Tom Lane)
     </P
><P
>      Map <SPAN
CLASS="QUOTE"
>"Central America Standard Time"</SPAN
> to <TT
CLASS="LITERAL"
>CST6</TT
>, not
      <TT
CLASS="LITERAL"
>CST6CDT</TT
>, because DST is generally not observed anywhere in
      Central America.
     </P
></LI
><LI
><P
>      Update time zone data files to <SPAN
CLASS="APPLICATION"
>tzdata</SPAN
> release 2011n
      for DST law changes in Brazil, Cuba, Fiji, Palestine, Russia, and Samoa;
      also historical corrections for Alaska and British East Africa.
     </P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="release-8-4-11.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="release-8-4-9.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Release 8.4.11</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="release.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Release 8.4.9</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>