~ubuntu-branches/ubuntu/quantal/postgresql-9.1/quantal-updates

« back to all changes in this revision

Viewing changes to doc/src/sgml/html/release-7-4.html

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2012-06-04 06:47:45 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20120604064745-dvs00jnur0vgkwqs
Tags: 9.1.4-1
* Urgency medium due to security fixes.
* New upstream bug fix/security release:
  - Fix incorrect password transformation in "contrib/pgcrypto"'s DES
    crypt() function.
    If a password string contained the byte value 0x80, the remainder
    of the password was ignored, causing the password to be much weaker
    than it appeared. With this fix, the rest of the string is properly
    included in the DES hash. Any stored password values that are
    affected by this bug will thus no longer match, so the stored
    values may need to be updated. (CVE-2012-2143)
  - Ignore SECURITY DEFINER and SET attributes for a procedural
    language's call handler. Applying such attributes to a call handler
    could crash the server. (CVE-2012-2655)
  - Make "contrib/citext"'s upgrade script fix collations of citext
    arrays and domains over citext.
    Release 9.1.2 provided a fix for collations of citext columns and
    indexes in databases upgraded or reloaded from pre-9.1
    installations, but that fix was incomplete: it neglected to handle
    arrays and domains over citext. This release extends the module's
    upgrade script to handle these cases. As before, if you have
    already run the upgrade script, you'll need to run the collation
    update commands by hand instead. See the 9.1.2 release notes for
    more information about doing this.
  - Allow numeric timezone offsets in timestamp input to be up to 16
    hours away from UTC. Some historical time zones have offsets larger than
    15 hours, the previous limit. This could result in dumped data values
    being rejected during reload.
  - Fix timestamp conversion to cope when the given time is exactly the
    last DST transition time for the current timezone.
    This oversight has been there a long time, but was not noticed
    previously because most DST-using zones are presumed to have an
    indefinite sequence of future DST transitions.
  - Fix text to name and char to name casts to perform string
    truncation correctly in multibyte encodings.
  - Fix memory copying bug in to_tsquery().
  - Ensure txid_current() reports the correct epoch when executed in
    hot standby.
  - Fix planner's handling of outer PlaceHolderVars within subqueries.
    This bug concerns sub-SELECTs that reference variables coming from
    the nullable side of an outer join of the surrounding query. In
    9.1, queries affected by this bug would fail with "ERROR:
    Upper-level PlaceHolderVar found where not expected". But in 9.0
    and 8.4, you'd silently get possibly-wrong answers, since the value
    transmitted into the subquery wouldn't go to null when it should.
  - Fix planning of UNION ALL subqueries with output columns that are
    not simple variables.
    Planning of such cases got noticeably worse in 9.1 as a result of a
    misguided fix for "MergeAppend child's targetlist doesn't match
    MergeAppend" errors. Revert that fix and do it another way.
  - Fix slow session startup when pg_attribute is very large.
    If pg_attribute exceeds one-fourth of shared_buffers, cache
    rebuilding code that is sometimes needed during session start would
    trigger the synchronized-scan logic, causing it to take many times
    longer than normal. The problem was particularly acute if many new
    sessions were starting at once.
  - Ensure sequential scans check for query cancel reasonably often.
    A scan encountering many consecutive pages that contain no live
    tuples would not respond to interrupts meanwhile.
  - Ensure the Windows implementation of PGSemaphoreLock() clears
    ImmediateInterruptOK before returning.
    This oversight meant that a query-cancel interrupt received later
    in the same query could be accepted at an unsafe time, with
    unpredictable but not good consequences.
  - Show whole-row variables safely when printing views or rules.
    Corner cases involving ambiguous names (that is, the name could be
    either a table or column name of the query) were printed in an
    ambiguous way, risking that the view or rule would be interpreted
    differently after dump and reload. Avoid the ambiguous case by
    attaching a no-op cast.
  - Fix "COPY FROM" to properly handle null marker strings that
    correspond to invalid encoding.
    A null marker string such as E'\\0' should work, and did work in
    the past, but the case got broken in 8.4.
  - Fix "EXPLAIN VERBOSE" for writable CTEs containing RETURNING
    clauses.
  - Fix "PREPARE TRANSACTION" to work correctly in the presence of
    advisory locks.
    Historically, "PREPARE TRANSACTION" has simply ignored any
    session-level advisory locks the session holds, but this case was
    accidentally broken in 9.1.
  - Fix truncation of unlogged tables.
  - Ignore missing schemas during non-interactive assignments of
    search_path.
    This re-aligns 9.1's behavior with that of older branches.
    Previously 9.1 would throw an error for nonexistent schemas
    mentioned in search_path settings obtained from places such as
    "ALTER DATABASE SET".
  - Fix bugs with temporary or transient tables used in extension
    scripts.
    This includes cases such as a rewriting "ALTER TABLE" within an
    extension update script, since that uses a transient table behind
    the scenes.
  - Ensure autovacuum worker processes perform stack depth checking
    properly.
    Previously, infinite recursion in a function invoked by
    auto-"ANALYZE" could crash worker processes.
  - Fix logging collector to not lose log coherency under high load.
    The collector previously could fail to reassemble large messages if
    it got too busy.
  - Fix logging collector to ensure it will restart file rotation after
    receiving SIGHUP.
  - Fix "too many LWLocks taken" failure in GiST indexes.
  - Fix WAL replay logic for GIN indexes to not fail if the index was
    subsequently dropped.
  - Correctly detect SSI conflicts of prepared transactions after a
    crash.
  - Avoid synchronous replication delay when committing a transaction
    that only modified temporary tables.
    In such a case the transaction's commit record need not be flushed
    to standby servers, but some of the code didn't know that and
    waited for it to happen anyway.
  - Fix error handling in pg_basebackup.
  - Fix walsender to not go into a busy loop if connection is
    terminated.
  - Fix memory leak in PL/pgSQL's "RETURN NEXT" command.
  - Fix PL/pgSQL's "GET DIAGNOSTICS" command when the target is the
    function's first variable.
  - Ensure that PL/Perl package-qualifies the _TD variable.
    This bug caused trigger invocations to fail when they are nested
    within a function invocation that changes the current package.
  - Fix PL/Python functions returning composite types to accept a
    string for their result value.
    This case was accidentally broken by the 9.1 additions to allow a
    composite result value to be supplied in other formats, such as
    dictionaries.
  - Fix potential access off the end of memory in psql's expanded
    display ("\x") mode.
  - Fix several performance problems in pg_dump when the database
    contains many objects.
    pg_dump could get very slow if the database contained many schemas,
    or if many objects are in dependency loops, or if there are many
    owned sequences.
  - Fix memory and file descriptor leaks in pg_restore when reading a
    directory-format archive.
  - Fix pg_upgrade for the case that a database stored in a non-default
    tablespace contains a table in the cluster's default tablespace.
  - In ecpg, fix rare memory leaks and possible overwrite of one byte
    after the sqlca_t structure.
  - Fix "contrib/dblink"'s dblink_exec() to not leak temporary database
    connections upon error.
  - Fix "contrib/dblink" to report the correct connection name in error
    messages.
  - Fix "contrib/vacuumlo" to use multiple transactions when dropping
    many large objects.
    This change avoids exceeding max_locks_per_transaction when many
    objects need to be dropped. The behavior can be adjusted with the
    new -l (limit) option.
* debian/control: Bump debhelper build dependency to >= 8, as it does not
  build with earlier versions.
* debian/control: Move bzr branches to alioth, so that other members of
  pkg-postgresql can commit. Update Vcs-* tags.
* debian/control: Set Maintainer: to pkg-postgresql group, and move myself
  to Uploaders:.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
REV="MADE"
10
10
HREF="mailto:pgsql-docs@postgresql.org"><LINK
11
11
REL="HOME"
12
 
TITLE="PostgreSQL 9.1.3 Documentation"
 
12
TITLE="PostgreSQL 9.1.4 Documentation"
13
13
HREF="index.html"><LINK
14
14
REL="UP"
15
15
TITLE="Release Notes"
26
26
HTTP-EQUIV="Content-Type"
27
27
CONTENT="text/html; charset=ISO-8859-1"><META
28
28
NAME="creation"
29
 
CONTENT="2012-02-23T23:09:00"></HEAD
 
29
CONTENT="2012-05-31T23:22:48"></HEAD
30
30
><BODY
31
31
CLASS="SECT1"
32
32
><DIV
44
44
VALIGN="bottom"
45
45
><A
46
46
HREF="index.html"
47
 
>PostgreSQL 9.1.3 Documentation</A
 
47
>PostgreSQL 9.1.4 Documentation</A
48
48
></TH
49
49
></TR
50
50
><TR
93
93
CLASS="SECT1"
94
94
><A
95
95
NAME="RELEASE-7-4"
96
 
>E.149. Release 7.4</A
 
96
>E.153. Release 7.4</A
97
97
></H1
98
98
><DIV
99
99
CLASS="NOTE"
110
110
><H2
111
111
CLASS="SECT2"
112
112
><A
113
 
NAME="AEN126288"
114
 
>E.149.1. Overview</A
 
113
NAME="AEN126808"
 
114
>E.153.1. Overview</A
115
115
></H2
116
116
><P
117
117
>   Major changes in this release:
381
381
><H2
382
382
CLASS="SECT2"
383
383
><A
384
 
NAME="AEN126385"
385
 
>E.149.2. Migration to Version 7.4</A
 
384
NAME="AEN126905"
 
385
>E.153.2. Migration to Version 7.4</A
386
386
></H2
387
387
><P
388
388
>   A dump/restore using <SPAN
649
649
><H2
650
650
CLASS="SECT2"
651
651
><A
652
 
NAME="AEN126455"
653
 
>E.149.3. Changes</A
 
652
NAME="AEN126975"
 
653
>E.153.3. Changes</A
654
654
></H2
655
655
><P
656
656
>   Below you will find a detailed account of the changes between
661
661
><H3
662
662
CLASS="SECT3"
663
663
><A
664
 
NAME="AEN126458"
665
 
>E.149.3.1. Server Operation Changes</A
 
664
NAME="AEN126978"
 
665
>E.153.3.1. Server Operation Changes</A
666
666
></H3
667
667
><P
668
668
></P
802
802
><H3
803
803
CLASS="SECT3"
804
804
><A
805
 
NAME="AEN126509"
806
 
>E.149.3.2. Performance Improvements</A
 
805
NAME="AEN127029"
 
806
>E.153.3.2. Performance Improvements</A
807
807
></H3
808
808
><P
809
809
></P
1043
1043
><H3
1044
1044
CLASS="SECT3"
1045
1045
><A
1046
 
NAME="AEN126593"
1047
 
>E.149.3.3. Server Configuration Changes</A
 
1046
NAME="AEN127113"
 
1047
>E.153.3.3. Server Configuration Changes</A
1048
1048
></H3
1049
1049
><P
1050
1050
></P
1322
1322
><H3
1323
1323
CLASS="SECT3"
1324
1324
><A
1325
 
NAME="AEN126686"
1326
 
>E.149.3.4. Query Changes</A
 
1325
NAME="AEN127206"
 
1326
>E.153.3.4. Query Changes</A
1327
1327
></H3
1328
1328
><P
1329
1329
></P
1435
1435
><H3
1436
1436
CLASS="SECT3"
1437
1437
><A
1438
 
NAME="AEN126724"
1439
 
>E.149.3.5. Object Manipulation Changes</A
 
1438
NAME="AEN127244"
 
1439
>E.153.3.5. Object Manipulation Changes</A
1440
1440
></H3
1441
1441
><P
1442
1442
></P
1596
1596
><H3
1597
1597
CLASS="SECT3"
1598
1598
><A
1599
 
NAME="AEN126779"
1600
 
>E.149.3.6. Utility Command Changes</A
 
1599
NAME="AEN127299"
 
1600
>E.153.3.6. Utility Command Changes</A
1601
1601
></H3
1602
1602
><P
1603
1603
></P
1933
1933
><H3
1934
1934
CLASS="SECT3"
1935
1935
><A
1936
 
NAME="AEN126890"
1937
 
>E.149.3.7. Data Type and Function Changes</A
 
1936
NAME="AEN127410"
 
1937
>E.153.3.7. Data Type and Function Changes</A
1938
1938
></H3
1939
1939
><P
1940
1940
></P
2440
2440
><H3
2441
2441
CLASS="SECT3"
2442
2442
><A
2443
 
NAME="AEN127059"
2444
 
>E.149.3.8. Server-Side Language Changes</A
 
2443
NAME="AEN127579"
 
2444
>E.153.3.8. Server-Side Language Changes</A
2445
2445
></H3
2446
2446
><P
2447
2447
></P
2536
2536
><H3
2537
2537
CLASS="SECT3"
2538
2538
><A
2539
 
NAME="AEN127092"
2540
 
>E.149.3.9. psql Changes</A
 
2539
NAME="AEN127612"
 
2540
>E.153.3.9. psql Changes</A
2541
2541
></H3
2542
2542
><P
2543
2543
></P
2658
2658
><H3
2659
2659
CLASS="SECT3"
2660
2660
><A
2661
 
NAME="AEN127137"
2662
 
>E.149.3.10. pg_dump Changes</A
 
2661
NAME="AEN127657"
 
2662
>E.153.3.10. pg_dump Changes</A
2663
2663
></H3
2664
2664
><P
2665
2665
></P
2764
2764
><H3
2765
2765
CLASS="SECT3"
2766
2766
><A
2767
 
NAME="AEN127174"
2768
 
>E.149.3.11. libpq Changes</A
 
2767
NAME="AEN127694"
 
2768
>E.153.3.11. libpq Changes</A
2769
2769
></H3
2770
2770
><P
2771
2771
></P
2915
2915
><H3
2916
2916
CLASS="SECT3"
2917
2917
><A
2918
 
NAME="AEN127223"
2919
 
>E.149.3.12. JDBC Changes</A
 
2918
NAME="AEN127743"
 
2919
>E.153.3.12. JDBC Changes</A
2920
2920
></H3
2921
2921
><P
2922
2922
></P
2954
2954
><H3
2955
2955
CLASS="SECT3"
2956
2956
><A
2957
 
NAME="AEN127238"
2958
 
>E.149.3.13. Miscellaneous Interface Changes</A
 
2957
NAME="AEN127758"
 
2958
>E.153.3.13. Miscellaneous Interface Changes</A
2959
2959
></H3
2960
2960
><P
2961
2961
></P
3011
3011
><H3
3012
3012
CLASS="SECT3"
3013
3013
><A
3014
 
NAME="AEN127257"
3015
 
>E.149.3.14. Source Code Changes</A
 
3014
NAME="AEN127777"
 
3015
>E.153.3.14. Source Code Changes</A
3016
3016
></H3
3017
3017
><P
3018
3018
></P
3136
3136
><H3
3137
3137
CLASS="SECT3"
3138
3138
><A
3139
 
NAME="AEN127310"
3140
 
>E.149.3.15. Contrib Changes</A
 
3139
NAME="AEN127830"
 
3140
>E.153.3.15. Contrib Changes</A
3141
3141
></H3
3142
3142
><P
3143
3143
></P