Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
self
/
root
/
proc
/
self
/
root
/
opt
/
postgresql-11
/
doc
/
html
/
//proc/self/root/proc/self/root/opt/postgresql-11/doc/html/release-9-0-5.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.153. Release 9.0.5</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-0-6.html" title="E.152. Release 9.0.6" /><link rel="next" href="release-9-0-4.html" title="E.154. Release 9.0.4" /></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.153. Release 9.0.5</th></tr><tr><td width="10%" align="left"><a accesskey="p" href="release-9-0-6.html" title="E.152. Release 9.0.6">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-0-4.html" title="E.154. Release 9.0.4">Next</a></td></tr></table><hr></hr></div><div class="sect1" id="RELEASE-9-0-5"><div class="titlepage"><div><div><h2 class="title" style="clear: both">E.153. Release 9.0.5</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="sect2"><a href="release-9-0-5.html#id-1.11.6.157.4">E.153.1. Migration to Version 9.0.5</a></span></dt><dt><span class="sect2"><a href="release-9-0-5.html#id-1.11.6.157.5">E.153.2. Changes</a></span></dt></dl></div><p><strong>Release date: </strong>2011-09-26</p><p> This release contains a variety of fixes from 9.0.4. For information about new features in the 9.0 major release, see <a class="xref" href="release-9-0.html" title="E.158. Release 9.0">Section E.158</a>. </p><div class="sect2" id="id-1.11.6.157.4"><div class="titlepage"><div><div><h3 class="title">E.153.1. Migration to Version 9.0.5</h3></div></div></div><p> A dump/restore is not required for those running 9.0.X. </p><p> However, if you are upgrading from a version earlier than 9.0.4, see <a class="xref" href="release-9-0-4.html" title="E.154. Release 9.0.4">Section E.154</a>. </p></div><div class="sect2" id="id-1.11.6.157.5"><div class="titlepage"><div><div><h3 class="title">E.153.2. Changes</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p> Fix catalog cache invalidation after a <code class="command">VACUUM FULL</code> or <code class="command">CLUSTER</code> on a system catalog (Tom Lane) </p><p> In some cases the relocation of a system catalog row to another place would not be recognized by concurrent server processes, allowing catalog corruption to occur if they then tried to update that row. The worst-case outcome could be as bad as complete loss of a table. </p></li><li class="listitem"><p> Fix incorrect order of operations during sinval reset processing, and ensure that TOAST OIDs are preserved in system catalogs (Tom Lane) </p><p> These mistakes could lead to transient failures after a <code class="command">VACUUM FULL</code> or <code class="command">CLUSTER</code> on a system catalog. </p></li><li class="listitem"><p> Fix bugs in indexing of in-doubt HOT-updated tuples (Tom Lane) </p><p> These bugs could result in index corruption after reindexing a system catalog. They are not believed to affect user indexes. </p></li><li class="listitem"><p> Fix multiple bugs in GiST index page split processing (Heikki Linnakangas) </p><p> The probability of occurrence was low, but these could lead to index corruption. </p></li><li class="listitem"><p> Fix possible buffer overrun in <code class="function">tsvector_concat()</code> (Tom Lane) </p><p> The function could underestimate the amount of memory needed for its result, leading to server crashes. </p></li><li class="listitem"><p> Fix crash in <code class="function">xml_recv</code> when processing a <span class="quote">“<span class="quote">standalone</span>”</span> parameter (Tom Lane) </p></li><li class="listitem"><p> Make <code class="function">pg_options_to_table</code> return NULL for an option with no value (Tom Lane) </p><p> Previously such cases would result in a server crash. </p></li><li class="listitem"><p> Avoid possibly accessing off the end of memory in <code class="command">ANALYZE</code> and in SJIS-2004 encoding conversion (Noah Misch) </p><p> This fixes some very-low-probability server crash scenarios. </p></li><li class="listitem"><p> Protect <code class="function">pg_stat_reset_shared()</code> against NULL input (Magnus Hagander) </p></li><li class="listitem"><p> Fix possible failure when a recovery conflict deadlock is detected within a sub-transaction (Tom Lane) </p></li><li class="listitem"><p> Avoid spurious conflicts while recycling btree index pages during hot standby (Noah Misch, Simon Riggs) </p></li><li class="listitem"><p> Shut down WAL receiver if it's still running at end of recovery (Heikki Linnakangas) </p><p> The postmaster formerly panicked in this situation, but it's actually a legitimate case. </p></li><li class="listitem"><p> Fix race condition in relcache init file invalidation (Tom Lane) </p><p> There was a window wherein a new backend process could read a stale init file but miss the inval messages that would tell it the data is stale. The result would be bizarre failures in catalog accesses, typically <span class="quote">“<span class="quote">could not read block 0 in file ...</span>”</span> later during startup. </p></li><li class="listitem"><p> Fix memory leak at end of a GiST index scan (Tom Lane) </p><p> Commands that perform many separate GiST index scans, such as verification of a new GiST-based exclusion constraint on a table already containing many rows, could transiently require large amounts of memory due to this leak. </p></li><li class="listitem"><p> Fix memory leak when encoding conversion has to be done on incoming command strings and <code class="command">LISTEN</code> is active (Tom Lane) </p></li><li class="listitem"><p> Fix incorrect memory accounting (leading to possible memory bloat) in tuplestores supporting holdable cursors and plpgsql's <code class="literal">RETURN NEXT</code> command (Tom Lane) </p></li><li class="listitem"><p> Fix trigger <code class="literal">WHEN</code> conditions when both <code class="literal">BEFORE</code> and <code class="literal">AFTER</code> triggers exist (Tom Lane) </p><p> Evaluation of <code class="literal">WHEN</code> conditions for <code class="literal">AFTER ROW UPDATE</code> triggers could crash if there had been a <code class="literal">BEFORE ROW</code> trigger fired for the same update. </p></li><li class="listitem"><p> Fix performance problem when constructing a large, lossy bitmap (Tom Lane) </p></li><li class="listitem"><p> Fix join selectivity estimation for unique columns (Tom Lane) </p><p> This fixes an erroneous planner heuristic that could lead to poor estimates of the result size of a join. </p></li><li class="listitem"><p> Fix nested PlaceHolderVar expressions that appear only in sub-select target lists (Tom Lane) </p><p> This mistake could result in outputs of an outer join incorrectly appearing as NULL. </p></li><li class="listitem"><p> Allow the planner to assume that empty parent tables really are empty (Tom Lane) </p><p> Normally an empty table is assumed to have a certain minimum size for planning purposes; but this heuristic seems to do more harm than good for the parent table of an inheritance hierarchy, which often is permanently empty. </p></li><li class="listitem"><p> Allow nested <code class="literal">EXISTS</code> queries to be optimized properly (Tom Lane) </p></li><li class="listitem"><p> Fix array- and path-creating functions to ensure padding bytes are zeroes (Tom Lane) </p><p> This avoids some situations where the planner will think that semantically-equal constants are not equal, resulting in poor optimization. </p></li><li class="listitem"><p> Fix <code class="command">EXPLAIN</code> to handle gating Result nodes within inner-indexscan subplans (Tom Lane) </p><p> The usual symptom of this oversight was <span class="quote">“<span class="quote">bogus varno</span>”</span> errors. </p></li><li class="listitem"><p> Fix btree preprocessing of <em class="replaceable"><code>indexedcol</code></em> <code class="literal">IS NULL</code> conditions (Dean Rasheed) </p><p> Such a condition is unsatisfiable if combined with any other type of btree-indexable condition on the same index column. The case was handled incorrectly in 9.0.0 and later, leading to query output where there should be none. </p></li><li class="listitem"><p> Work around gcc 4.6.0 bug that breaks WAL replay (Tom Lane) </p><p> This could lead to loss of committed transactions after a server crash. </p></li><li class="listitem"><p> Fix dump bug for <code class="literal">VALUES</code> in a view (Tom Lane) </p></li><li class="listitem"><p> Disallow <code class="literal">SELECT FOR UPDATE/SHARE</code> on sequences (Tom Lane) </p><p> This operation doesn't work as expected and can lead to failures. </p></li><li class="listitem"><p> Fix <code class="command">VACUUM</code> so that it always updates <code class="literal">pg_class</code>.<code class="literal">reltuples</code>/<code class="literal">relpages</code> (Tom Lane) </p><p> This fixes some scenarios where autovacuum could make increasingly poor decisions about when to vacuum tables. </p></li><li class="listitem"><p> Defend against integer overflow when computing size of a hash table (Tom Lane) </p></li><li class="listitem"><p> Fix cases where <code class="command">CLUSTER</code> might attempt to access already-removed TOAST data (Tom Lane) </p></li><li class="listitem"><p> Fix premature timeout failures during initial authentication transaction (Tom Lane) </p></li><li class="listitem"><p> Fix portability bugs in use of credentials control messages for <span class="quote">“<span class="quote">peer</span>”</span> authentication (Tom Lane) </p></li><li class="listitem"><p> Fix SSPI login when multiple roundtrips are required (Ahmed Shinwari, Magnus Hagander) </p><p> The typical symptom of this problem was <span class="quote">“<span class="quote">The function requested is not supported</span>”</span> errors during SSPI login. </p></li><li class="listitem"><p> Fix failure when adding a new variable of a custom variable class to <code class="filename">postgresql.conf</code> (Tom Lane) </p></li><li class="listitem"><p> Throw an error if <code class="filename">pg_hba.conf</code> contains <code class="literal">hostssl</code> but SSL is disabled (Tom Lane) </p><p> This was concluded to be more user-friendly than the previous behavior of silently ignoring such lines. </p></li><li class="listitem"><p> Fix failure when <code class="command">DROP OWNED BY</code> attempts to remove default privileges on sequences (Shigeru Hanada) </p></li><li class="listitem"><p> Fix typo in <code class="function">pg_srand48</code> seed initialization (Andres Freund) </p><p> This led to failure to use all bits of the provided seed. This function is not used on most platforms (only those without <code class="function">srandom</code>), and the potential security exposure from a less-random-than-expected seed seems minimal in any case. </p></li><li class="listitem"><p> Avoid integer overflow when the sum of <code class="literal">LIMIT</code> and <code class="literal">OFFSET</code> values exceeds 2^63 (Heikki Linnakangas) </p></li><li class="listitem"><p> Add overflow checks to <code class="type">int4</code> and <code class="type">int8</code> versions of <code class="function">generate_series()</code> (Robert Haas) </p></li><li class="listitem"><p> Fix trailing-zero removal in <code class="function">to_char()</code> (Marti Raudsepp) </p><p> In a format with <code class="literal">FM</code> and no digit positions after the decimal point, zeroes to the left of the decimal point could be removed incorrectly. </p></li><li class="listitem"><p> Fix <code class="function">pg_size_pretty()</code> to avoid overflow for inputs close to 2^63 (Tom Lane) </p></li><li class="listitem"><p> Weaken plpgsql's check for typmod matching in record values (Tom Lane) </p><p> An overly enthusiastic check could lead to discarding length modifiers that should have been kept. </p></li><li class="listitem"><p> Correctly handle quotes in locale names during <span class="application">initdb</span> (Heikki Linnakangas) </p><p> The case can arise with some Windows locales, such as <span class="quote">“<span class="quote">People's Republic of China</span>”</span>. </p></li><li class="listitem"><p> In <span class="application">pg_upgrade</span>, avoid dumping orphaned temporary tables (Bruce Momjian) </p><p> This prevents situations wherein table OID assignments could get out of sync between old and new installations. </p></li><li class="listitem"><p> Fix <span class="application">pg_upgrade</span> to preserve toast tables' relfrozenxids during an upgrade from 8.3 (Bruce Momjian) </p><p> Failure to do this could lead to <code class="filename">pg_clog</code> files being removed too soon after the upgrade. </p></li><li class="listitem"><p> In <span class="application">pg_upgrade</span>, fix the <code class="literal">-l</code> (log) option to work on Windows (Bruce Momjian) </p></li><li class="listitem"><p> In <span class="application">pg_ctl</span>, support silent mode for service registrations on Windows (MauMau) </p></li><li class="listitem"><p> Fix <span class="application">psql</span>'s counting of script file line numbers during <code class="literal">COPY</code> from a different file (Tom Lane) </p></li><li class="listitem"><p> Fix <span class="application">pg_restore</span>'s direct-to-database mode for <code class="varname">standard_conforming_strings</code> (Tom Lane) </p><p> <span class="application">pg_restore</span> could emit incorrect commands when restoring directly to a database server from an archive file that had been made with <code class="varname">standard_conforming_strings</code> set to <code class="literal">on</code>. </p></li><li class="listitem"><p> Be more user-friendly about unsupported cases for parallel <span class="application">pg_restore</span> (Tom Lane) </p><p> This change ensures that such cases are detected and reported before any restore actions have been taken. </p></li><li class="listitem"><p> Fix write-past-buffer-end and memory leak in <span class="application">libpq</span>'s LDAP service lookup code (Albe Laurenz) </p></li><li class="listitem"><p> In <span class="application">libpq</span>, avoid failures when using nonblocking I/O and an SSL connection (Martin Pihlak, Tom Lane) </p></li><li class="listitem"><p> Improve libpq's handling of failures during connection startup (Tom Lane) </p><p> In particular, the response to a server report of <code class="function">fork()</code> failure during SSL connection startup is now saner. </p></li><li class="listitem"><p> Improve <span class="application">libpq</span>'s error reporting for SSL failures (Tom Lane) </p></li><li class="listitem"><p> Fix <code class="function">PQsetvalue()</code> to avoid possible crash when adding a new tuple to a <code class="structname">PGresult</code> originally obtained from a server query (Andrew Chernow) </p></li><li class="listitem"><p> Make <span class="application">ecpglib</span> write <code class="type">double</code> values with 15 digits precision (Akira Kurosawa) </p></li><li class="listitem"><p> In <span class="application">ecpglib</span>, be sure <code class="literal">LC_NUMERIC</code> setting is restored after an error (Michael Meskes) </p></li><li class="listitem"><p> Apply upstream fix for blowfish signed-character bug (CVE-2011-2483) (Tom Lane) </p><p> <code class="filename">contrib/pg_crypto</code>'s blowfish encryption code could give wrong results on platforms where char is signed (which is most), leading to encrypted passwords being weaker than they should be. </p></li><li class="listitem"><p> Fix memory leak in <code class="filename">contrib/seg</code> (Heikki Linnakangas) </p></li><li class="listitem"><p> Fix <code class="function">pgstatindex()</code> to give consistent results for empty indexes (Tom Lane) </p></li><li class="listitem"><p> Allow building with perl 5.14 (Alex Hunsaker) </p></li><li class="listitem"><p> Fix assorted issues with build and install file paths containing spaces (Tom Lane) </p></li><li class="listitem"><p> Update time zone data files to <span class="application">tzdata</span> release 2011i for DST law changes in Canada, Egypt, Russia, Samoa, and South Sudan. </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-0-6.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-0-4.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">E.152. Release 9.0.6 </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> E.154. Release 9.0.4</td></tr></table></div></body></html>