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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-05-11 10:41:53 UTC
  • Revision ID: james.westby@ubuntu.com-20110511104153-psbh2o58553fv1m0
Tags: upstream-9.1~beta1
ImportĀ upstreamĀ versionĀ 9.1~beta1

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 8.3.1</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.1beta1 Documentation"
 
13
HREF="index.html"><LINK
 
14
REL="UP"
 
15
TITLE="Release Notes"
 
16
HREF="release.html"><LINK
 
17
REL="PREVIOUS"
 
18
TITLE="Release 8.3.2"
 
19
HREF="release-8-3-2.html"><LINK
 
20
REL="NEXT"
 
21
TITLE="Release 8.3"
 
22
HREF="release-8-3.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="2011-04-27T21:20:33"></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.1beta1 Documentation</A
 
48
></TH
 
49
></TR
 
50
><TR
 
51
><TD
 
52
WIDTH="10%"
 
53
ALIGN="left"
 
54
VALIGN="top"
 
55
><A
 
56
TITLE="Release 8.3.2"
 
57
HREF="release-8-3-2.html"
 
58
ACCESSKEY="P"
 
59
>Prev</A
 
60
></TD
 
61
><TD
 
62
WIDTH="10%"
 
63
ALIGN="left"
 
64
VALIGN="top"
 
65
><A
 
66
TITLE="Release Notes"
 
67
HREF="release.html"
 
68
>Fast Backward</A
 
69
></TD
 
70
><TD
 
71
WIDTH="60%"
 
72
ALIGN="center"
 
73
VALIGN="bottom"
 
74
>Appendix E. Release Notes</TD
 
75
><TD
 
76
WIDTH="10%"
 
77
ALIGN="right"
 
78
VALIGN="top"
 
79
><A
 
80
TITLE="Release Notes"
 
81
HREF="release.html"
 
82
>Fast Forward</A
 
83
></TD
 
84
><TD
 
85
WIDTH="10%"
 
86
ALIGN="right"
 
87
VALIGN="top"
 
88
><A
 
89
TITLE="Release 8.3"
 
90
HREF="release-8-3.html"
 
91
ACCESSKEY="N"
 
92
>Next</A
 
93
></TD
 
94
></TR
 
95
></TABLE
 
96
><HR
 
97
ALIGN="LEFT"
 
98
WIDTH="100%"></DIV
 
99
><DIV
 
100
CLASS="SECT1"
 
101
><H1
 
102
CLASS="SECT1"
 
103
><A
 
104
NAME="RELEASE-8-3-1"
 
105
>E.30. Release 8.3.1</A
 
106
></H1
 
107
><DIV
 
108
CLASS="NOTE"
 
109
><BLOCKQUOTE
 
110
CLASS="NOTE"
 
111
><P
 
112
><B
 
113
>Release Date: </B
 
114
>2008-03-17</P
 
115
></BLOCKQUOTE
 
116
></DIV
 
117
><P
 
118
>   This release contains a variety of fixes from 8.3.0.
 
119
   For information about new features in the 8.3 major release, see
 
120
   <A
 
121
HREF="release-8-3.html"
 
122
>Section E.31</A
 
123
>.
 
124
  </P
 
125
><DIV
 
126
CLASS="SECT2"
 
127
><H2
 
128
CLASS="SECT2"
 
129
><A
 
130
NAME="AEN113480"
 
131
>E.30.1. Migration to Version 8.3.1</A
 
132
></H2
 
133
><P
 
134
>    A dump/restore is not required for those running 8.3.X.
 
135
    However, you might need to <TT
 
136
CLASS="COMMAND"
 
137
>REINDEX</TT
 
138
> indexes on textual
 
139
    columns after updating, if you are affected by the Windows locale
 
140
    issue described below.
 
141
   </P
 
142
></DIV
 
143
><DIV
 
144
CLASS="SECT2"
 
145
><H2
 
146
CLASS="SECT2"
 
147
><A
 
148
NAME="AEN113484"
 
149
>E.30.2. Changes</A
 
150
></H2
 
151
><P
 
152
></P
 
153
><UL
 
154
><LI
 
155
><P
 
156
>      Fix character string comparison for Windows locales that consider
 
157
      different character combinations as equal (Tom)
 
158
     </P
 
159
><P
 
160
>      This fix applies only on Windows and only when using UTF-8
 
161
      database encoding.  The same fix was made for all other cases
 
162
      over two years ago, but Windows with UTF-8 uses a separate code
 
163
      path that was not updated.  If you are using a locale that
 
164
      considers some non-identical strings as equal, you may need to
 
165
      <TT
 
166
CLASS="COMMAND"
 
167
>REINDEX</TT
 
168
> to fix existing indexes on textual columns.
 
169
     </P
 
170
></LI
 
171
><LI
 
172
><P
 
173
>      Repair corner-case bugs in <TT
 
174
CLASS="COMMAND"
 
175
>VACUUM FULL</TT
 
176
> (Tom)
 
177
     </P
 
178
><P
 
179
>      A potential deadlock between concurrent <TT
 
180
CLASS="COMMAND"
 
181
>VACUUM FULL</TT
 
182
>
 
183
      operations on different system catalogs was introduced in 8.2.
 
184
      This has now been corrected.  8.3 made this worse because the
 
185
      deadlock could occur within a critical code section, making it
 
186
      a PANIC rather than just ERROR condition.
 
187
     </P
 
188
><P
 
189
>      Also, a <TT
 
190
CLASS="COMMAND"
 
191
>VACUUM FULL</TT
 
192
> that failed partway through
 
193
      vacuuming a system catalog could result in cache corruption in
 
194
      concurrent database sessions.
 
195
     </P
 
196
><P
 
197
>      Another <TT
 
198
CLASS="COMMAND"
 
199
>VACUUM FULL</TT
 
200
> bug introduced in 8.3 could
 
201
      result in a crash or out-of-memory report when dealing with
 
202
      pages containing no live tuples.
 
203
     </P
 
204
></LI
 
205
><LI
 
206
><P
 
207
>      Fix misbehavior of foreign key checks involving <TT
 
208
CLASS="TYPE"
 
209
>character</TT
 
210
>
 
211
      or <TT
 
212
CLASS="TYPE"
 
213
>bit</TT
 
214
> columns (Tom)
 
215
     </P
 
216
><P
 
217
>      If the referencing column were of a different but compatible type
 
218
      (for instance <TT
 
219
CLASS="TYPE"
 
220
>varchar</TT
 
221
>), the constraint was enforced incorrectly.
 
222
     </P
 
223
></LI
 
224
><LI
 
225
><P
 
226
>      Avoid needless deadlock failures in no-op foreign-key checks (Stephan
 
227
      Szabo, Tom)
 
228
     </P
 
229
></LI
 
230
><LI
 
231
><P
 
232
>      Fix possible core dump when re-planning a prepared query (Tom)
 
233
     </P
 
234
><P
 
235
>      This bug affected only protocol-level prepare operations, not
 
236
      SQL <TT
 
237
CLASS="COMMAND"
 
238
>PREPARE</TT
 
239
>, and so tended to be seen only with
 
240
      JDBC, DBI, and other client-side drivers that use prepared
 
241
      statements heavily.
 
242
     </P
 
243
></LI
 
244
><LI
 
245
><P
 
246
>      Fix possible failure when re-planning a query that calls an SPI-using
 
247
      function (Tom)
 
248
     </P
 
249
></LI
 
250
><LI
 
251
><P
 
252
>      Fix failure in row-wise comparisons involving columns of different
 
253
      datatypes (Tom)
 
254
     </P
 
255
></LI
 
256
><LI
 
257
><P
 
258
>      Fix longstanding <TT
 
259
CLASS="COMMAND"
 
260
>LISTEN</TT
 
261
>/<TT
 
262
CLASS="COMMAND"
 
263
>NOTIFY</TT
 
264
>
 
265
      race condition (Tom)
 
266
     </P
 
267
><P
 
268
>      In rare cases a session that had just executed a
 
269
      <TT
 
270
CLASS="COMMAND"
 
271
>LISTEN</TT
 
272
> might not get a notification, even though
 
273
      one would be expected because the concurrent transaction executing
 
274
      <TT
 
275
CLASS="COMMAND"
 
276
>NOTIFY</TT
 
277
> was observed to commit later.
 
278
     </P
 
279
><P
 
280
>      A side effect of the fix is that a transaction that has executed
 
281
      a not-yet-committed <TT
 
282
CLASS="COMMAND"
 
283
>LISTEN</TT
 
284
> command will not see any
 
285
      row in <TT
 
286
CLASS="STRUCTNAME"
 
287
>pg_listener</TT
 
288
> for the <TT
 
289
CLASS="COMMAND"
 
290
>LISTEN</TT
 
291
>,
 
292
      should it choose to look; formerly it would have.  This behavior
 
293
      was never documented one way or the other, but it is possible that
 
294
      some applications depend on the old behavior.
 
295
     </P
 
296
></LI
 
297
><LI
 
298
><P
 
299
>      Disallow <TT
 
300
CLASS="COMMAND"
 
301
>LISTEN</TT
 
302
> and <TT
 
303
CLASS="COMMAND"
 
304
>UNLISTEN</TT
 
305
> within a
 
306
      prepared transaction (Tom)
 
307
     </P
 
308
><P
 
309
>      This was formerly allowed but trying to do it had various unpleasant
 
310
      consequences, notably that the originating backend could not exit
 
311
      as long as an <TT
 
312
CLASS="COMMAND"
 
313
>UNLISTEN</TT
 
314
> remained uncommitted.
 
315
     </P
 
316
></LI
 
317
><LI
 
318
><P
 
319
>      Disallow dropping a temporary table within a
 
320
      prepared transaction (Heikki)
 
321
     </P
 
322
><P
 
323
>      This was correctly disallowed by 8.1, but the check was inadvertently
 
324
      broken in 8.2 and 8.3.
 
325
     </P
 
326
></LI
 
327
><LI
 
328
><P
 
329
>      Fix rare crash when an error occurs during a query using a hash index
 
330
      (Heikki)
 
331
     </P
 
332
></LI
 
333
><LI
 
334
><P
 
335
>      Fix incorrect comparison of <TT
 
336
CLASS="TYPE"
 
337
>tsquery</TT
 
338
> values (Teodor)
 
339
     </P
 
340
></LI
 
341
><LI
 
342
><P
 
343
>      Fix incorrect behavior of <TT
 
344
CLASS="LITERAL"
 
345
>LIKE</TT
 
346
> with non-ASCII characters
 
347
      in single-byte encodings (Rolf Jentsch)
 
348
     </P
 
349
></LI
 
350
><LI
 
351
><P
 
352
>      Disable <CODE
 
353
CLASS="FUNCTION"
 
354
>xmlvalidate</CODE
 
355
> (Tom)
 
356
     </P
 
357
><P
 
358
>      This function should have been removed before 8.3 release, but
 
359
      was inadvertently left in the source code.  It poses a small
 
360
      security risk since unprivileged users could use it to read the
 
361
      first few characters of any file accessible to the server.
 
362
     </P
 
363
></LI
 
364
><LI
 
365
><P
 
366
>      Fix memory leaks in certain usages of set-returning functions (Neil)
 
367
     </P
 
368
></LI
 
369
><LI
 
370
><P
 
371
>      Make <CODE
 
372
CLASS="FUNCTION"
 
373
>encode(<TT
 
374
CLASS="REPLACEABLE"
 
375
><I
 
376
>bytea</I
 
377
></TT
 
378
>, 'escape')</CODE
 
379
> convert all
 
380
      high-bit-set byte values into <TT
 
381
CLASS="LITERAL"
 
382
>\</TT
 
383
><TT
 
384
CLASS="REPLACEABLE"
 
385
><I
 
386
>nnn</I
 
387
></TT
 
388
> octal
 
389
      escape sequences (Tom)
 
390
     </P
 
391
><P
 
392
>      This is necessary to avoid encoding problems when the database
 
393
      encoding is multi-byte.  This change could pose compatibility issues
 
394
      for applications that are expecting specific results from
 
395
      <CODE
 
396
CLASS="FUNCTION"
 
397
>encode</CODE
 
398
>.
 
399
     </P
 
400
></LI
 
401
><LI
 
402
><P
 
403
>      Fix input of datetime values for February 29 in years BC (Tom)
 
404
     </P
 
405
><P
 
406
>      The former coding was mistaken about which years were leap years.
 
407
     </P
 
408
></LI
 
409
><LI
 
410
><P
 
411
>      Fix <SPAN
 
412
CLASS="QUOTE"
 
413
>"unrecognized node type"</SPAN
 
414
> error in some variants of
 
415
      <TT
 
416
CLASS="COMMAND"
 
417
>ALTER OWNER</TT
 
418
> (Tom)
 
419
     </P
 
420
></LI
 
421
><LI
 
422
><P
 
423
>      Avoid tablespace permissions errors in <TT
 
424
CLASS="COMMAND"
 
425
>CREATE TABLE LIKE
 
426
      INCLUDING INDEXES</TT
 
427
> (Tom)
 
428
     </P
 
429
></LI
 
430
><LI
 
431
><P
 
432
>      Ensure <TT
 
433
CLASS="STRUCTNAME"
 
434
>pg_stat_activity</TT
 
435
>.<TT
 
436
CLASS="STRUCTFIELD"
 
437
>waiting</TT
 
438
> flag
 
439
      is cleared when a lock wait is aborted (Tom)
 
440
     </P
 
441
></LI
 
442
><LI
 
443
><P
 
444
>      Fix handling of process permissions on Windows Vista (Dave, Magnus)
 
445
     </P
 
446
><P
 
447
>      In particular, this fix allows starting the server as the Administrator
 
448
      user.
 
449
     </P
 
450
></LI
 
451
><LI
 
452
><P
 
453
>      Update time zone data files to <SPAN
 
454
CLASS="APPLICATION"
 
455
>tzdata</SPAN
 
456
> release 2008a
 
457
      (in particular, recent Chile changes); adjust timezone abbreviation
 
458
      <TT
 
459
CLASS="LITERAL"
 
460
>VET</TT
 
461
> (Venezuela) to mean UTC-4:30, not UTC-4:00 (Tom)
 
462
     </P
 
463
></LI
 
464
><LI
 
465
><P
 
466
>      Fix <SPAN
 
467
CLASS="APPLICATION"
 
468
>ecpg</SPAN
 
469
> problems with arrays (Michael)
 
470
     </P
 
471
></LI
 
472
><LI
 
473
><P
 
474
>      Fix <SPAN
 
475
CLASS="APPLICATION"
 
476
>pg_ctl</SPAN
 
477
> to correctly extract the postmaster's port
 
478
      number from command-line options (Itagaki Takahiro, Tom)
 
479
     </P
 
480
><P
 
481
>      Previously, <TT
 
482
CLASS="LITERAL"
 
483
>pg_ctl start -w</TT
 
484
> could try to contact the
 
485
      postmaster on the wrong port, leading to bogus reports of startup
 
486
      failure.
 
487
     </P
 
488
></LI
 
489
><LI
 
490
><P
 
491
>      Use <TT
 
492
CLASS="OPTION"
 
493
>-fwrapv</TT
 
494
> to defend against possible misoptimization
 
495
      in recent <SPAN
 
496
CLASS="APPLICATION"
 
497
>gcc</SPAN
 
498
> versions (Tom)
 
499
     </P
 
500
><P
 
501
>      This is known to be necessary when building <SPAN
 
502
CLASS="PRODUCTNAME"
 
503
>PostgreSQL</SPAN
 
504
>
 
505
      with <SPAN
 
506
CLASS="APPLICATION"
 
507
>gcc</SPAN
 
508
> 4.3 or later.
 
509
     </P
 
510
></LI
 
511
><LI
 
512
><P
 
513
>      Enable building <TT
 
514
CLASS="FILENAME"
 
515
>contrib/uuid-ossp</TT
 
516
> with MSVC (Hiroshi Saito)
 
517
     </P
 
518
></LI
 
519
></UL
 
520
></DIV
 
521
></DIV
 
522
><DIV
 
523
CLASS="NAVFOOTER"
 
524
><HR
 
525
ALIGN="LEFT"
 
526
WIDTH="100%"><TABLE
 
527
SUMMARY="Footer navigation table"
 
528
WIDTH="100%"
 
529
BORDER="0"
 
530
CELLPADDING="0"
 
531
CELLSPACING="0"
 
532
><TR
 
533
><TD
 
534
WIDTH="33%"
 
535
ALIGN="left"
 
536
VALIGN="top"
 
537
><A
 
538
HREF="release-8-3-2.html"
 
539
ACCESSKEY="P"
 
540
>Prev</A
 
541
></TD
 
542
><TD
 
543
WIDTH="34%"
 
544
ALIGN="center"
 
545
VALIGN="top"
 
546
><A
 
547
HREF="index.html"
 
548
ACCESSKEY="H"
 
549
>Home</A
 
550
></TD
 
551
><TD
 
552
WIDTH="33%"
 
553
ALIGN="right"
 
554
VALIGN="top"
 
555
><A
 
556
HREF="release-8-3.html"
 
557
ACCESSKEY="N"
 
558
>Next</A
 
559
></TD
 
560
></TR
 
561
><TR
 
562
><TD
 
563
WIDTH="33%"
 
564
ALIGN="left"
 
565
VALIGN="top"
 
566
>Release 8.3.2</TD
 
567
><TD
 
568
WIDTH="34%"
 
569
ALIGN="center"
 
570
VALIGN="top"
 
571
><A
 
572
HREF="release.html"
 
573
ACCESSKEY="U"
 
574
>Up</A
 
575
></TD
 
576
><TD
 
577
WIDTH="33%"
 
578
ALIGN="right"
 
579
VALIGN="top"
 
580
>Release 8.3</TD
 
581
></TR
 
582
></TABLE
 
583
></DIV
 
584
></BODY
 
585
></HTML
 
586
>
 
 
b'\\ No newline at end of file'