Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
212
/
root
/
opt
/
postgresql-11
/
doc
/
html
/
//proc/212/root/opt/postgresql-11/doc/html/release-8-0-3.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.277. Release 8.0.3</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-4.html" title="E.276. Release 8.0.4" /><link rel="next" href="release-8-0-2.html" title="E.278. Release 8.0.2" /></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.277. Release 8.0.3</th></tr><tr><td width="10%" align="left"><a accesskey="p" href="release-8-0-4.html" title="E.276. Release 8.0.4">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-2.html" title="E.278. Release 8.0.2">Next</a></td></tr></table><hr></hr></div><div class="sect1" id="RELEASE-8-0-3"><div class="titlepage"><div><div><h2 class="title" style="clear: both">E.277. Release 8.0.3</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="sect2"><a href="release-8-0-3.html#id-1.11.6.281.4">E.277.1. Migration to Version 8.0.3</a></span></dt><dt><span class="sect2"><a href="release-8-0-3.html#id-1.11.6.281.5">E.277.2. Changes</a></span></dt></dl></div><p><strong>Release date: </strong>2005-05-09</p><p> This release contains a variety of fixes from 8.0.2, including several security-related issues. 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.281.4"><div class="titlepage"><div><div><h3 class="title">E.277.1. Migration to Version 8.0.3</h3></div></div></div><p> A dump/restore is not required for those running 8.0.X. However, it is one possible way of handling two significant security problems that have been found in the initial contents of 8.0.X system catalogs. A dump/initdb/reload sequence using 8.0.3's initdb will automatically correct these problems. </p><p> The larger security problem is that the built-in character set encoding conversion functions can be invoked from SQL commands by unprivileged users, but the functions were not designed for such use and are not secure against malicious choices of arguments. The fix involves changing the declared parameter list of these functions so that they can no longer be invoked from SQL commands. (This does not affect their normal use by the encoding conversion machinery.) </p><p> The lesser problem is that the <code class="filename">contrib/tsearch2</code> module creates several functions that are improperly declared to return <code class="type">internal</code> when they do not accept <code class="type">internal</code> arguments. This breaks type safety for all functions using <code class="type">internal</code> arguments. </p><p> It is strongly recommended that all installations repair these errors, either by initdb or by following the manual repair procedure given below. The errors at least allow unprivileged database users to crash their server process, and might allow unprivileged users to gain the privileges of a database superuser. </p><p> If you wish not to do an initdb, perform the same manual repair procedures shown in the <a class="link" href="release-7-4-8.html" title="E.303. Release 7.4.8">7.4.8 release notes</a>. </p></div><div class="sect2" id="id-1.11.6.281.5"><div class="titlepage"><div><div><h3 class="title">E.277.2. Changes</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>Change encoding function signature to prevent misuse</p></li><li class="listitem"><p>Change <code class="filename">contrib/tsearch2</code> to avoid unsafe use of <code class="type">INTERNAL</code> function results</p></li><li class="listitem"><p>Guard against incorrect second parameter to <code class="function">record_out</code></p></li><li class="listitem"><p>Repair ancient race condition that allowed a transaction to be seen as committed for some purposes (eg SELECT FOR UPDATE) slightly sooner than for other purposes</p><p>This is an extremely serious bug since it could lead to apparent data inconsistencies being briefly visible to applications.</p></li><li class="listitem"><p>Repair race condition between relation extension and VACUUM</p><p>This could theoretically have caused loss of a page's worth of freshly-inserted data, although the scenario seems of very low probability. There are no known cases of it having caused more than an Assert failure. </p></li><li class="listitem"><p>Fix comparisons of <code class="type">TIME WITH TIME ZONE</code> values</p><p> The comparison code was wrong in the case where the <code class="literal">--enable-integer-datetimes</code> configuration switch had been used. NOTE: if you have an index on a <code class="type">TIME WITH TIME ZONE</code> column, it will need to be <code class="command">REINDEX</code>ed after installing this update, because the fix corrects the sort order of column values. </p></li><li class="listitem"><p>Fix <code class="function">EXTRACT(EPOCH)</code> for <code class="type">TIME WITH TIME ZONE</code> values</p></li><li class="listitem"><p>Fix mis-display of negative fractional seconds in <code class="type">INTERVAL</code> values</p><p> This error only occurred when the <code class="literal">--enable-integer-datetimes</code> configuration switch had been used. </p></li><li class="listitem"><p>Fix pg_dump to dump trigger names containing <code class="literal">%</code> correctly (Neil)</p></li><li class="listitem"><p>Still more 64-bit fixes for <code class="filename">contrib/intagg</code></p></li><li class="listitem"><p>Prevent incorrect optimization of functions returning <code class="type">RECORD</code></p></li><li class="listitem"><p>Prevent crash on <code class="literal">COALESCE(NULL,NULL)</code></p></li><li class="listitem"><p>Fix Borland makefile for libpq</p></li><li class="listitem"><p>Fix <code class="filename">contrib/btree_gist</code> for <code class="type">timetz</code> type (Teodor)</p></li><li class="listitem"><p>Make <code class="command">pg_ctl</code> check the PID found in <code class="filename">postmaster.pid</code> to see if it is still a live process</p></li><li class="listitem"><p>Fix <code class="command">pg_dump</code>/<code class="command">pg_restore</code> problems caused by addition of dump timestamps</p></li><li class="listitem"><p>Fix interaction between materializing holdable cursors and firing deferred triggers during transaction commit</p></li><li class="listitem"><p>Fix memory leak in SQL functions returning pass-by-reference data types</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-4.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-2.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">E.276. Release 8.0.4 </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> E.278. Release 8.0.2</td></tr></table></div></body></html>