Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
opt
/
postgresql-11
/
doc
/
html
/
//proc/thread-self/root/opt/postgresql-11/doc/html/release-9-1-4.html
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>E.130. Release 9.1.4</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /><link rev="made" href="pgsql-docs@postgresql.org" /><meta name="generator" content="DocBook XSL Stylesheets V1.79.1" /><link rel="prev" href="release-9-1-5.html" title="E.129. Release 9.1.5" /><link rel="next" href="release-9-1-3.html" title="E.131. Release 9.1.3" /></head><body><div xmlns="http://www.w3.org/TR/xhtml1/transitional" class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="5" align="center">E.130. Release 9.1.4</th></tr><tr><td width="10%" align="left"><a accesskey="p" href="release-9-1-5.html" title="E.129. Release 9.1.5">Prev</a> </td><td width="10%" align="left"><a accesskey="u" href="release.html" title="Appendix E. Release Notes">Up</a></td><th width="60%" align="center">Appendix E. Release Notes</th><td width="10%" align="right"><a accesskey="h" href="index.html" title="PostgreSQL 11.1 Documentation">Home</a></td><td width="10%" align="right"> <a accesskey="n" href="release-9-1-3.html" title="E.131. Release 9.1.3">Next</a></td></tr></table><hr></hr></div><div class="sect1" id="RELEASE-9-1-4"><div class="titlepage"><div><div><h2 class="title" style="clear: both">E.130. Release 9.1.4</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="sect2"><a href="release-9-1-4.html#id-1.11.6.134.4">E.130.1. Migration to Version 9.1.4</a></span></dt><dt><span class="sect2"><a href="release-9-1-4.html#id-1.11.6.134.5">E.130.2. Changes</a></span></dt></dl></div><p><strong>Release date: </strong>2012-06-04</p><p> This release contains a variety of fixes from 9.1.3. For information about new features in the 9.1 major release, see <a class="xref" href="release-9-1.html" title="E.134. Release 9.1">Section E.134</a>. </p><div class="sect2" id="id-1.11.6.134.4"><div class="titlepage"><div><div><h3 class="title">E.130.1. Migration to Version 9.1.4</h3></div></div></div><p> A dump/restore is not required for those running 9.1.X. </p><p> However, if you use the <code class="type">citext</code> data type, and you upgraded from a previous major release by running <span class="application">pg_upgrade</span>, you should run <code class="literal">CREATE EXTENSION citext FROM unpackaged</code> to avoid collation-related failures in <code class="type">citext</code> operations. The same is necessary if you restore a dump from a pre-9.1 database that contains an instance of the <code class="type">citext</code> data type. If you've already run the <code class="command">CREATE EXTENSION</code> command before upgrading to 9.1.4, you will instead need to do manual catalog updates as explained in the third changelog item below. </p><p> Also, if you are upgrading from a version earlier than 9.1.2, see <a class="xref" href="release-9-1-2.html" title="E.132. Release 9.1.2">Section E.132</a>. </p></div><div class="sect2" id="id-1.11.6.134.5"><div class="titlepage"><div><div><h3 class="title">E.130.2. Changes</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p> Fix incorrect password transformation in <code class="filename">contrib/pgcrypto</code>'s DES <code class="function">crypt()</code> function (Solar Designer) </p><p> If a password string contained the byte value <code class="literal">0x80</code>, 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) </p></li><li class="listitem"><p> Ignore <code class="literal">SECURITY DEFINER</code> and <code class="literal">SET</code> attributes for a procedural language's call handler (Tom Lane) </p><p> Applying such attributes to a call handler could crash the server. (CVE-2012-2655) </p></li><li class="listitem"><p> Make <code class="filename">contrib/citext</code>'s upgrade script fix collations of <code class="type">citext</code> arrays and domains over <code class="type">citext</code> (Tom Lane) </p><p> Release 9.1.2 provided a fix for collations of <code class="type">citext</code> 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 <code class="type">citext</code>. 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. </p></li><li class="listitem"><p> Allow numeric timezone offsets in <code class="type">timestamp</code> input to be up to 16 hours away from UTC (Tom Lane) </p><p> Some historical time zones have offsets larger than 15 hours, the previous limit. This could result in dumped data values being rejected during reload. </p></li><li class="listitem"><p> Fix timestamp conversion to cope when the given time is exactly the last DST transition time for the current timezone (Tom Lane) </p><p> 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. </p></li><li class="listitem"><p> Fix <code class="type">text</code> to <code class="type">name</code> and <code class="type">char</code> to <code class="type">name</code> casts to perform string truncation correctly in multibyte encodings (Karl Schnaitter) </p></li><li class="listitem"><p> Fix memory copying bug in <code class="function">to_tsquery()</code> (Heikki Linnakangas) </p></li><li class="listitem"><p> Ensure <code class="function">txid_current()</code> reports the correct epoch when executed in hot standby (Simon Riggs) </p></li><li class="listitem"><p> Fix planner's handling of outer PlaceHolderVars within subqueries (Tom Lane) </p><p> 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 <span class="quote">“<span class="quote">ERROR: Upper-level PlaceHolderVar found where not expected</span>”</span>. 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. </p></li><li class="listitem"><p> Fix planning of <code class="literal">UNION ALL</code> subqueries with output columns that are not simple variables (Tom Lane) </p><p> Planning of such cases got noticeably worse in 9.1 as a result of a misguided fix for <span class="quote">“<span class="quote">MergeAppend child's targetlist doesn't match MergeAppend</span>”</span> errors. Revert that fix and do it another way. </p></li><li class="listitem"><p> Fix slow session startup when <code class="structname">pg_attribute</code> is very large (Tom Lane) </p><p> If <code class="structname">pg_attribute</code> exceeds one-fourth of <code class="varname">shared_buffers</code>, 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. </p></li><li class="listitem"><p> Ensure sequential scans check for query cancel reasonably often (Merlin Moncure) </p><p> A scan encountering many consecutive pages that contain no live tuples would not respond to interrupts meanwhile. </p></li><li class="listitem"><p> Ensure the Windows implementation of <code class="function">PGSemaphoreLock()</code> clears <code class="varname">ImmediateInterruptOK</code> before returning (Tom Lane) </p><p> 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. </p></li><li class="listitem"><p> Show whole-row variables safely when printing views or rules (Abbas Butt, Tom Lane) </p><p> 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. </p></li><li class="listitem"><p> Fix <code class="command">COPY FROM</code> to properly handle null marker strings that correspond to invalid encoding (Tom Lane) </p><p> A null marker string such as <code class="literal">E'\\0'</code> should work, and did work in the past, but the case got broken in 8.4. </p></li><li class="listitem"><p> Fix <code class="command">EXPLAIN VERBOSE</code> for writable CTEs containing <code class="literal">RETURNING</code> clauses (Tom Lane) </p></li><li class="listitem"><p> Fix <code class="command">PREPARE TRANSACTION</code> to work correctly in the presence of advisory locks (Tom Lane) </p><p> Historically, <code class="command">PREPARE TRANSACTION</code> has simply ignored any session-level advisory locks the session holds, but this case was accidentally broken in 9.1. </p></li><li class="listitem"><p> Fix truncation of unlogged tables (Robert Haas) </p></li><li class="listitem"><p> Ignore missing schemas during non-interactive assignments of <code class="varname">search_path</code> (Tom Lane) </p><p> This re-aligns 9.1's behavior with that of older branches. Previously 9.1 would throw an error for nonexistent schemas mentioned in <code class="varname">search_path</code> settings obtained from places such as <code class="command">ALTER DATABASE SET</code>. </p></li><li class="listitem"><p> Fix bugs with temporary or transient tables used in extension scripts (Tom Lane) </p><p> This includes cases such as a rewriting <code class="command">ALTER TABLE</code> within an extension update script, since that uses a transient table behind the scenes. </p></li><li class="listitem"><p> Ensure autovacuum worker processes perform stack depth checking properly (Heikki Linnakangas) </p><p> Previously, infinite recursion in a function invoked by auto-<code class="command">ANALYZE</code> could crash worker processes. </p></li><li class="listitem"><p> Fix logging collector to not lose log coherency under high load (Andrew Dunstan) </p><p> The collector previously could fail to reassemble large messages if it got too busy. </p></li><li class="listitem"><p> Fix logging collector to ensure it will restart file rotation after receiving <span class="systemitem">SIGHUP</span> (Tom Lane) </p></li><li class="listitem"><p> Fix <span class="quote">“<span class="quote">too many LWLocks taken</span>”</span> failure in GiST indexes (Heikki Linnakangas) </p></li><li class="listitem"><p> Fix WAL replay logic for GIN indexes to not fail if the index was subsequently dropped (Tom Lane) </p></li><li class="listitem"><p> Correctly detect SSI conflicts of prepared transactions after a crash (Dan Ports) </p></li><li class="listitem"><p> Avoid synchronous replication delay when committing a transaction that only modified temporary tables (Heikki Linnakangas) </p><p> 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. </p></li><li class="listitem"><p> Fix error handling in <span class="application">pg_basebackup</span> (Thomas Ogrisegg, Fujii Masao) </p></li><li class="listitem"><p> Fix <span class="application">walsender</span> to not go into a busy loop if connection is terminated (Fujii Masao) </p></li><li class="listitem"><p> Fix memory leak in PL/pgSQL's <code class="command">RETURN NEXT</code> command (Joe Conway) </p></li><li class="listitem"><p> Fix PL/pgSQL's <code class="command">GET DIAGNOSTICS</code> command when the target is the function's first variable (Tom Lane) </p></li><li class="listitem"><p> Ensure that PL/Perl package-qualifies the <code class="varname">_TD</code> variable (Alex Hunsaker) </p><p> This bug caused trigger invocations to fail when they are nested within a function invocation that changes the current package. </p></li><li class="listitem"><p> Fix PL/Python functions returning composite types to accept a string for their result value (Jan Urbanski) </p><p> 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. </p></li><li class="listitem"><p> Fix potential access off the end of memory in <span class="application">psql</span>'s expanded display (<code class="command">\x</code>) mode (Peter Eisentraut) </p></li><li class="listitem"><p> Fix several performance problems in <span class="application">pg_dump</span> when the database contains many objects (Jeff Janes, Tom Lane) </p><p> <span class="application">pg_dump</span> 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. </p></li><li class="listitem"><p> Fix memory and file descriptor leaks in <span class="application">pg_restore</span> when reading a directory-format archive (Peter Eisentraut) </p></li><li class="listitem"><p> Fix <span class="application">pg_upgrade</span> for the case that a database stored in a non-default tablespace contains a table in the cluster's default tablespace (Bruce Momjian) </p></li><li class="listitem"><p> In <span class="application">ecpg</span>, fix rare memory leaks and possible overwrite of one byte after the <code class="structname">sqlca_t</code> structure (Peter Eisentraut) </p></li><li class="listitem"><p> Fix <code class="filename">contrib/dblink</code>'s <code class="function">dblink_exec()</code> to not leak temporary database connections upon error (Tom Lane) </p></li><li class="listitem"><p> Fix <code class="filename">contrib/dblink</code> to report the correct connection name in error messages (Kyotaro Horiguchi) </p></li><li class="listitem"><p> Fix <code class="filename">contrib/vacuumlo</code> to use multiple transactions when dropping many large objects (Tim Lewis, Robert Haas, Tom Lane) </p><p> This change avoids exceeding <code class="varname">max_locks_per_transaction</code> when many objects need to be dropped. The behavior can be adjusted with the new <code class="literal">-l</code> (limit) option. </p></li><li class="listitem"><p> Update time zone data files to <span class="application">tzdata</span> release 2012c for DST law changes in Antarctica, Armenia, Chile, Cuba, Falkland Islands, Gaza, Haiti, Hebron, Morocco, Syria, and Tokelau Islands; also historical corrections for Canada. </p></li></ul></div></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="release-9-1-5.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="release.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="release-9-1-3.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">E.129. Release 9.1.5 </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> E.131. Release 9.1.3</td></tr></table></div></body></html>