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

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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Release 8.0.16</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.1.8 Documentation"
HREF="index.html"><LINK
REL="UP"
TITLE="Release Notes"
HREF="release.html"><LINK
REL="PREVIOUS"
TITLE="Release 8.0.17"
HREF="release-8-0-17.html"><LINK
REL="NEXT"
TITLE="Release 8.0.15"
HREF="release-8-0-15.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="2013-02-04T21:38:53"></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.1.8 Documentation</A
></TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="top"
><A
TITLE="Release 8.0.17"
HREF="release-8-0-17.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.0.15"
HREF="release-8-0-15.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="RELEASE-8-0-16"
>E.122. Release 8.0.16</A
></H1
><DIV
CLASS="NOTE"
><BLOCKQUOTE
CLASS="NOTE"
><P
><B
>Release Date: </B
>never released</P
></BLOCKQUOTE
></DIV
><P
>   This release contains a variety of fixes from 8.0.15.
   For information about new features in the 8.0 major release, see
   <A
HREF="release-8-0.html"
>Section E.138</A
>.
  </P
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN125064"
>E.122.1. Migration to Version 8.0.16</A
></H2
><P
>    A dump/restore is not required for those running 8.0.X.
    However, if you are upgrading from a version earlier than 8.0.6,
    see the release notes for 8.0.6.
   </P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN125067"
>E.122.2. Changes</A
></H2
><P
></P
><UL
><LI
><P
>      Fix <TT
CLASS="COMMAND"
>ALTER TABLE ADD COLUMN ... PRIMARY KEY</TT
> so that the new
      column is correctly checked to see if it's been initialized to all
      non-nulls (Brendan Jurd)
     </P
><P
>      Previous versions neglected to check this requirement at all.
     </P
></LI
><LI
><P
>      Fix possible <TT
CLASS="COMMAND"
>CREATE TABLE</TT
> failure when inheriting the
      <SPAN
CLASS="QUOTE"
>"same"</SPAN
> constraint from multiple parent relations that
      inherited that constraint from a common ancestor (Tom)
     </P
></LI
><LI
><P
>      Fix conversions between ISO-8859-5 and other encodings to handle
      Cyrillic <SPAN
CLASS="QUOTE"
>"Yo"</SPAN
> characters (<TT
CLASS="LITERAL"
>e</TT
> and <TT
CLASS="LITERAL"
>E</TT
> with
      two dots) (Sergey Burladyan)
     </P
></LI
><LI
><P
>      Fix a few datatype input functions
      that were allowing unused bytes in their results to contain
      uninitialized, unpredictable values (Tom)
     </P
><P
>      This could lead to failures in which two apparently identical literal
      values were not seen as equal, resulting in the parser complaining
      about unmatched <TT
CLASS="LITERAL"
>ORDER BY</TT
> and <TT
CLASS="LITERAL"
>DISTINCT</TT
>
      expressions.
     </P
></LI
><LI
><P
>      Fix a corner case in regular-expression substring matching
      (<TT
CLASS="LITERAL"
>substring(<TT
CLASS="REPLACEABLE"
><I
>string</I
></TT
> from
      <TT
CLASS="REPLACEABLE"
><I
>pattern</I
></TT
>)</TT
>) (Tom)
     </P
><P
>      The problem occurs when there is a match to the pattern overall but
      the user has specified a parenthesized subexpression and that
      subexpression hasn't got a match.  An example is
      <TT
CLASS="LITERAL"
>substring('foo' from 'foo(bar)?')</TT
>.
      This should return NULL, since <TT
CLASS="LITERAL"
>(bar)</TT
> isn't matched, but
      it was mistakenly returning the whole-pattern match instead (ie,
      <TT
CLASS="LITERAL"
>foo</TT
>).
     </P
></LI
><LI
><P
>      Update time zone data files to <SPAN
CLASS="APPLICATION"
>tzdata</SPAN
> release 2008c (for
      DST law changes in Morocco, Iraq, Choibalsan, Pakistan, Syria, Cuba,
      Argentina/San_Luis, and Chile)
     </P
></LI
><LI
><P
>      Fix incorrect result from <SPAN
CLASS="APPLICATION"
>ecpg</SPAN
>'s
      <CODE
CLASS="FUNCTION"
>PGTYPEStimestamp_sub()</CODE
> function (Michael)
     </P
></LI
><LI
><P
>      Fix core dump in <TT
CLASS="FILENAME"
>contrib/xml2</TT
>'s
      <CODE
CLASS="FUNCTION"
>xpath_table()</CODE
> function when the input query returns a
      NULL value (Tom)
     </P
></LI
><LI
><P
>      Fix <TT
CLASS="FILENAME"
>contrib/xml2</TT
>'s makefile to not override
      <TT
CLASS="LITERAL"
>CFLAGS</TT
> (Tom)
     </P
></LI
><LI
><P
>      Fix <TT
CLASS="LITERAL"
>DatumGetBool</TT
> macro to not fail with <SPAN
CLASS="APPLICATION"
>gcc</SPAN
>
      4.3 (Tom)
     </P
><P
>      This problem affects <SPAN
CLASS="QUOTE"
>"old style"</SPAN
> (V0) C functions that
      return boolean.  The fix is already in 8.3, but the need to
      back-patch it was not realized at the time.
     </P
></LI
><LI
><P
>      Fix longstanding <TT
CLASS="COMMAND"
>LISTEN</TT
>/<TT
CLASS="COMMAND"
>NOTIFY</TT
>
      race condition (Tom)
     </P
><P
>      In rare cases a session that had just executed a
      <TT
CLASS="COMMAND"
>LISTEN</TT
> might not get a notification, even though
      one would be expected because the concurrent transaction executing
      <TT
CLASS="COMMAND"
>NOTIFY</TT
> was observed to commit later.
     </P
><P
>      A side effect of the fix is that a transaction that has executed
      a not-yet-committed <TT
CLASS="COMMAND"
>LISTEN</TT
> command will not see any
      row in <TT
CLASS="STRUCTNAME"
>pg_listener</TT
> for the <TT
CLASS="COMMAND"
>LISTEN</TT
>,
      should it choose to look; formerly it would have.  This behavior
      was never documented one way or the other, but it is possible that
      some applications depend on the old behavior.
     </P
></LI
><LI
><P
>      Fix rare crash when an error occurs during a query using a hash index
      (Heikki)
     </P
></LI
><LI
><P
>      Fix input of datetime values for February 29 in years BC (Tom)
     </P
><P
>      The former coding was mistaken about which years were leap years.
     </P
></LI
><LI
><P
>      Fix <SPAN
CLASS="QUOTE"
>"unrecognized node type"</SPAN
> error in some variants of
      <TT
CLASS="COMMAND"
>ALTER OWNER</TT
> (Tom)
     </P
></LI
><LI
><P
>      Fix <SPAN
CLASS="APPLICATION"
>pg_ctl</SPAN
> to correctly extract the postmaster's port
      number from command-line options (Itagaki Takahiro, Tom)
     </P
><P
>      Previously, <TT
CLASS="LITERAL"
>pg_ctl start -w</TT
> could try to contact the
      postmaster on the wrong port, leading to bogus reports of startup
      failure.
     </P
></LI
><LI
><P
>      Use <TT
CLASS="OPTION"
>-fwrapv</TT
> to defend against possible misoptimization
      in recent <SPAN
CLASS="APPLICATION"
>gcc</SPAN
> versions (Tom)
     </P
><P
>      This is known to be necessary when building <SPAN
CLASS="PRODUCTNAME"
>PostgreSQL</SPAN
>
      with <SPAN
CLASS="APPLICATION"
>gcc</SPAN
> 4.3 or later.
     </P
></LI
><LI
><P
>      Fix display of constant expressions in <TT
CLASS="LITERAL"
>ORDER BY</TT
>
      and <TT
CLASS="LITERAL"
>GROUP BY</TT
> (Tom)
     </P
><P
>      An explictly casted constant would be shown incorrectly.  This could
      for example lead to corruption of a view definition during
      dump and reload.
     </P
></LI
><LI
><P
>      Fix <SPAN
CLASS="APPLICATION"
>libpq</SPAN
> to handle NOTICE messages correctly
      during COPY OUT (Tom)
     </P
><P
>      This failure has only been observed to occur when a user-defined
      datatype's output routine issues a NOTICE, but there is no
      guarantee it couldn't happen due to other causes.
     </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-0-17.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-0-15.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Release 8.0.17</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.0.15</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>