Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
self
/
root
/
opt
/
postgresql-11
/
doc
/
html
/
//proc/self/root/opt/postgresql-11/doc/html/release-8-0-2.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.278. Release 8.0.2</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-8-0-3.html" title="E.277. Release 8.0.3" /><link rel="next" href="release-8-0-1.html" title="E.279. Release 8.0.1" /></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.278. Release 8.0.2</th></tr><tr><td width="10%" align="left"><a accesskey="p" href="release-8-0-3.html" title="E.277. Release 8.0.3">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-8-0-1.html" title="E.279. Release 8.0.1">Next</a></td></tr></table><hr></hr></div><div class="sect1" id="RELEASE-8-0-2"><div class="titlepage"><div><div><h2 class="title" style="clear: both">E.278. Release 8.0.2</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="sect2"><a href="release-8-0-2.html#id-1.11.6.282.4">E.278.1. Migration to Version 8.0.2</a></span></dt><dt><span class="sect2"><a href="release-8-0-2.html#id-1.11.6.282.5">E.278.2. Changes</a></span></dt></dl></div><p><strong>Release date: </strong>2005-04-07</p><p> This release contains a variety of fixes from 8.0.1. For information about new features in the 8.0 major release, see <a class="xref" href="release-8-0.html" title="E.280. Release 8.0">Section E.280</a>. </p><div class="sect2" id="id-1.11.6.282.4"><div class="titlepage"><div><div><h3 class="title">E.278.1. Migration to Version 8.0.2</h3></div></div></div><p> A dump/restore is not required for those running 8.0.*. This release updates the major version number of the <span class="productname">PostgreSQL</span> libraries, so it might be necessary to re-link some user applications if they cannot find the properly-numbered shared library. </p></div><div class="sect2" id="id-1.11.6.282.5"><div class="titlepage"><div><div><h3 class="title">E.278.2. Changes</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>Increment the major version number of all interface libraries (Bruce)</p><p> This should have been done in 8.0.0. It is required so 7.4.X versions of PostgreSQL client applications, like <span class="application">psql</span>, can be used on the same machine as 8.0.X applications. This might require re-linking user applications that use these libraries. </p></li><li class="listitem"><p>Add Windows-only <code class="varname">wal_sync_method</code> setting of <code class="option">fsync_writethrough</code> (Magnus, Bruce)</p><p> This setting causes <span class="productname">PostgreSQL</span> to write through any disk-drive write cache when writing to WAL. This behavior was formerly called <code class="option">fsync</code>, but was renamed because it acts quite differently from <code class="option">fsync</code> on other platforms. </p></li><li class="listitem"><p>Enable the <code class="varname">wal_sync_method</code> setting of <code class="option">open_datasync</code> on Windows, and make it the default for that platform (Magnus, Bruce)</p><p> Because the default is no longer <code class="option">fsync_writethrough</code>, data loss is possible during a power failure if the disk drive has write caching enabled. To turn off the write cache on Windows, from the <span class="application">Device Manager</span>, choose the drive properties, then <code class="literal">Policies</code>. </p></li><li class="listitem"><p>New cache management algorithm <acronym class="acronym">2Q</acronym> replaces <acronym class="acronym">ARC</acronym> (Tom)</p><p> This was done to avoid a pending US patent on <acronym class="acronym">ARC</acronym>. The <acronym class="acronym">2Q</acronym> code might be a few percentage points slower than <acronym class="acronym">ARC</acronym> for some work loads. A better cache management algorithm will appear in 8.1. </p></li><li class="listitem"><p>Planner adjustments to improve behavior on freshly-created tables (Tom)</p></li><li class="listitem"><p>Allow plpgsql to assign to an element of an array that is initially <code class="literal">NULL</code> (Tom)</p><p> Formerly the array would remain <code class="literal">NULL</code>, but now it becomes a single-element array. The main SQL engine was changed to handle <code class="command">UPDATE</code> of a null array value this way in 8.0, but the similar case in plpgsql was overlooked. </p></li><li class="listitem"><p>Convert <code class="literal">\r\n</code> and <code class="literal">\r</code> to <code class="literal">\n</code> in plpython function bodies (Michael Fuhr)</p><p> This prevents syntax errors when plpython code is written on a Windows or Mac client. </p></li><li class="listitem"><p>Allow SPI cursors to handle utility commands that return rows, such as <code class="command">EXPLAIN</code> (Tom)</p></li><li class="listitem"><p>Fix <code class="command">CLUSTER</code> failure after <code class="command">ALTER TABLE SET WITHOUT OIDS</code> (Tom)</p></li><li class="listitem"><p>Reduce memory usage of <code class="command">ALTER TABLE ADD COLUMN</code> (Neil)</p></li><li class="listitem"><p>Fix <code class="command">ALTER LANGUAGE RENAME</code> (Tom)</p></li><li class="listitem"><p>Document the Windows-only <code class="literal">register</code> and <code class="literal">unregister</code> options of <span class="application">pg_ctl</span> (Magnus)</p></li><li class="listitem"><p>Ensure operations done during backend shutdown are counted by statistics collector</p><p> This is expected to resolve reports of <span class="application">pg_autovacuum</span> not vacuuming the system catalogs often enough — it was not being told about catalog deletions caused by temporary table removal during backend exit. </p></li><li class="listitem"><p>Change the Windows default for configuration parameter <code class="varname">log_destination</code> to <code class="option">eventlog</code> (Magnus)</p><p> By default, a server running on Windows will now send log output to the Windows event logger rather than standard error. </p></li><li class="listitem"><p>Make Kerberos authentication work on Windows (Magnus)</p></li><li class="listitem"><p>Allow <code class="command">ALTER DATABASE RENAME</code> by superusers who aren't flagged as having CREATEDB privilege (Tom)</p></li><li class="listitem"><p>Modify WAL log entries for <code class="command">CREATE</code> and <code class="command">DROP DATABASE</code> to not specify absolute paths (Tom)</p><p>This allows point-in-time recovery on a different machine with possibly different database location. Note that <code class="command">CREATE TABLESPACE</code> still poses a hazard in such situations. </p></li><li class="listitem"><p>Fix crash from a backend exiting with an open transaction that created a table and opened a cursor on it (Tom)</p></li><li class="listitem"><p>Fix <code class="function">array_map()</code> so it can call PL functions (Tom)</p></li><li class="listitem"><p>Several <code class="filename">contrib/tsearch2</code> and <code class="filename">contrib/btree_gist</code> fixes (Teodor) </p></li><li class="listitem"><p>Fix crash of some <code class="filename">contrib/pgcrypto</code> functions on some platforms (Marko Kreen)</p></li><li class="listitem"><p>Fix <code class="filename">contrib/intagg</code> for 64-bit platforms (Tom)</p></li><li class="listitem"><p>Fix ecpg bugs in parsing of <code class="command">CREATE</code> statement (Michael)</p></li><li class="listitem"><p>Work around gcc bug on powerpc and amd64 causing problems in ecpg (Christof Petig)</p></li><li class="listitem"><p>Do not use locale-aware versions of <code class="function">upper()</code>, <code class="function">lower()</code>, and <code class="function">initcap()</code> when the locale is <code class="literal">C</code> (Bruce)</p><p> This allows these functions to work on platforms that generate errors for non-7-bit data when the locale is <code class="literal">C</code>. </p></li><li class="listitem"><p>Fix <code class="function">quote_ident()</code> to quote names that match keywords (Tom)</p></li><li class="listitem"><p>Fix <code class="function">to_date()</code> to behave reasonably when <code class="literal">CC</code> and <code class="literal">YY</code> fields are both used (Karel)</p></li><li class="listitem"><p>Prevent <code class="function">to_char(interval)</code> from failing when given a zero-month interval (Tom)</p></li><li class="listitem"><p>Fix wrong week returned by <code class="function">date_trunc('week')</code> (Bruce)</p><p> <code class="function">date_trunc('week')</code> returned the wrong year for the first few days of January in some years. </p></li><li class="listitem"><p>Use the correct default mask length for class <code class="literal">D</code> addresses in <code class="type">INET</code> data types (Tom)</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-8-0-3.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-8-0-1.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">E.277. Release 8.0.3 </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> E.279. Release 8.0.1</td></tr></table></div></body></html>