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-8-1-12.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.241. Release 8.1.12</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-1-13.html" title="E.240. Release 8.1.13" /><link rel="next" href="release-8-1-11.html" title="E.242. Release 8.1.11" /></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.241. Release 8.1.12</th></tr><tr><td width="10%" align="left"><a accesskey="p" href="release-8-1-13.html" title="E.240. Release 8.1.13">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-1-11.html" title="E.242. Release 8.1.11">Next</a></td></tr></table><hr></hr></div><div class="sect1" id="RELEASE-8-1-12"><div class="titlepage"><div><div><h2 class="title" style="clear: both">E.241. Release 8.1.12</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="sect2"><a href="release-8-1-12.html#id-1.11.6.245.4">E.241.1. Migration to Version 8.1.12</a></span></dt><dt><span class="sect2"><a href="release-8-1-12.html#id-1.11.6.245.5">E.241.2. Changes</a></span></dt></dl></div><p><strong>Release date: </strong>never released</p><p> This release contains a variety of fixes from 8.1.11. For information about new features in the 8.1 major release, see <a class="xref" href="release-8-1.html" title="E.253. Release 8.1">Section E.253</a>. </p><div class="sect2" id="id-1.11.6.245.4"><div class="titlepage"><div><div><h3 class="title">E.241.1. Migration to Version 8.1.12</h3></div></div></div><p> A dump/restore is not required for those running 8.1.X. However, if you are upgrading from a version earlier than 8.1.2, see <a class="xref" href="release-8-1-2.html" title="E.251. Release 8.1.2">Section E.251</a>. </p></div><div class="sect2" id="id-1.11.6.245.5"><div class="titlepage"><div><div><h3 class="title">E.241.2. Changes</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p> Fix <code class="command">ALTER TABLE ADD COLUMN ... PRIMARY KEY</code> so that the new column is correctly checked to see if it's been initialized to all non-nulls (Brendan Jurd) </p><p> Previous versions neglected to check this requirement at all. </p></li><li class="listitem"><p> Fix possible <code class="command">CREATE TABLE</code> failure when inheriting the <span class="quote">“<span class="quote">same</span>”</span> constraint from multiple parent relations that inherited that constraint from a common ancestor (Tom) </p></li><li class="listitem"><p> Fix conversions between ISO-8859-5 and other encodings to handle Cyrillic <span class="quote">“<span class="quote">Yo</span>”</span> characters (<code class="literal">e</code> and <code class="literal">E</code> with two dots) (Sergey Burladyan) </p></li><li class="listitem"><p> Fix a few datatype input functions that were allowing unused bytes in their results to contain uninitialized, unpredictable values (Tom) </p><p> This could lead to failures in which two apparently identical literal values were not seen as equal, resulting in the parser complaining about unmatched <code class="literal">ORDER BY</code> and <code class="literal">DISTINCT</code> expressions. </p></li><li class="listitem"><p> Fix a corner case in regular-expression substring matching (<code class="literal">substring(<em class="replaceable"><code>string</code></em> from <em class="replaceable"><code>pattern</code></em>)</code>) (Tom) </p><p> The problem occurs when there is a match to the pattern overall but the user has specified a parenthesized subexpression and that subexpression hasn't got a match. An example is <code class="literal">substring('foo' from 'foo(bar)?')</code>. This should return NULL, since <code class="literal">(bar)</code> isn't matched, but it was mistakenly returning the whole-pattern match instead (ie, <code class="literal">foo</code>). </p></li><li class="listitem"><p> Update time zone data files to <span class="application">tzdata</span> release 2008c (for DST law changes in Morocco, Iraq, Choibalsan, Pakistan, Syria, Cuba, Argentina/San_Luis, and Chile) </p></li><li class="listitem"><p> Fix incorrect result from <span class="application">ecpg</span>'s <code class="function">PGTYPEStimestamp_sub()</code> function (Michael) </p></li><li class="listitem"><p> Fix core dump in <code class="filename">contrib/xml2</code>'s <code class="function">xpath_table()</code> function when the input query returns a NULL value (Tom) </p></li><li class="listitem"><p> Fix <code class="filename">contrib/xml2</code>'s makefile to not override <code class="literal">CFLAGS</code> (Tom) </p></li><li class="listitem"><p> Fix <code class="literal">DatumGetBool</code> macro to not fail with <span class="application">gcc</span> 4.3 (Tom) </p><p> This problem affects <span class="quote">“<span class="quote">old style</span>”</span> (V0) C functions that return boolean. The fix is already in 8.3, but the need to back-patch it was not realized at the time. </p></li><li class="listitem"><p> Fix longstanding <code class="command">LISTEN</code>/<code class="command">NOTIFY</code> race condition (Tom) </p><p> In rare cases a session that had just executed a <code class="command">LISTEN</code> might not get a notification, even though one would be expected because the concurrent transaction executing <code class="command">NOTIFY</code> was observed to commit later. </p><p> A side effect of the fix is that a transaction that has executed a not-yet-committed <code class="command">LISTEN</code> command will not see any row in <code class="structname">pg_listener</code> for the <code class="command">LISTEN</code>, should it choose to look; formerly it would have. This behavior was never documented one way or the other, but it is possible that some applications depend on the old behavior. </p></li><li class="listitem"><p> Disallow <code class="command">LISTEN</code> and <code class="command">UNLISTEN</code> within a prepared transaction (Tom) </p><p> This was formerly allowed but trying to do it had various unpleasant consequences, notably that the originating backend could not exit as long as an <code class="command">UNLISTEN</code> remained uncommitted. </p></li><li class="listitem"><p> Fix rare crash when an error occurs during a query using a hash index (Heikki) </p></li><li class="listitem"><p> Fix input of datetime values for February 29 in years BC (Tom) </p><p> The former coding was mistaken about which years were leap years. </p></li><li class="listitem"><p> Fix <span class="quote">“<span class="quote">unrecognized node type</span>”</span> error in some variants of <code class="command">ALTER OWNER</code> (Tom) </p></li><li class="listitem"><p> Fix <span class="application">pg_ctl</span> to correctly extract the postmaster's port number from command-line options (Itagaki Takahiro, Tom) </p><p> Previously, <code class="literal">pg_ctl start -w</code> could try to contact the postmaster on the wrong port, leading to bogus reports of startup failure. </p></li><li class="listitem"><p> Use <code class="option">-fwrapv</code> to defend against possible misoptimization in recent <span class="application">gcc</span> versions (Tom) </p><p> This is known to be necessary when building <span class="productname">PostgreSQL</span> with <span class="application">gcc</span> 4.3 or later. </p></li><li class="listitem"><p> Fix display of constant expressions in <code class="literal">ORDER BY</code> and <code class="literal">GROUP BY</code> (Tom) </p><p> An explicitly casted constant would be shown incorrectly. This could for example lead to corruption of a view definition during dump and reload. </p></li><li class="listitem"><p> Fix <span class="application">libpq</span> to handle NOTICE messages correctly during COPY OUT (Tom) </p><p> This failure has only been observed to occur when a user-defined datatype's output routine issues a NOTICE, but there is no guarantee it couldn't happen due to other causes. </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-1-13.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-1-11.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">E.240. Release 8.1.13 </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> E.242. Release 8.1.11</td></tr></table></div></body></html>