[postgis-tickets] r15540 - update of news items

Regina Obe lr at pcorp.us
Mon Aug 7 13:40:47 PDT 2017


Author: robe
Date: 2017-08-07 13:40:47 -0700 (Mon, 07 Aug 2017)
New Revision: 15540

Modified:
   trunk/NEWS
   trunk/doc/reference_processing.xml
   trunk/doc/xsl/postgis_aggs_mm.xml.xsl
Log:
update of news items

Modified: trunk/NEWS
===================================================================
--- trunk/NEWS	2017-08-07 20:23:16 UTC (rev 15539)
+++ trunk/NEWS	2017-08-07 20:40:47 UTC (rev 15540)
@@ -14,6 +14,8 @@
   - #3753, Gist penalty speed improvements for 2d and nd points
            (Darafei Praliaskouski)
   - #3677, ST_FrechetDistance (Shinichi Sugiyama)
+  - Most aggregates (raster and geometry), 
+    and all stable / immutable (raster and geometry) marked as parallel safe
 
 * Enhancements *
 

Modified: trunk/doc/reference_processing.xml
===================================================================
--- trunk/doc/reference_processing.xml	2017-08-07 20:23:16 UTC (rev 15539)
+++ trunk/doc/reference_processing.xml	2017-08-07 20:40:47 UTC (rev 15540)
@@ -895,7 +895,7 @@
     </para>
 
 		<para>Availability: 1.2.2?</para>
-    <para>Changed: 2.4.0 added support for max-deviation and max-angle tolerance, and for symmetric output.</para>
+    <para>Enhanced: 2.4.0 added support for max-deviation and max-angle tolerance, and for symmetric output.</para>
 
 		<para>&sfs_compliant;</para>
 		<para>&sqlmm_compliant; SQL-MM 3: 7.1.7</para>

Modified: trunk/doc/xsl/postgis_aggs_mm.xml.xsl
===================================================================
--- trunk/doc/xsl/postgis_aggs_mm.xml.xsl	2017-08-07 20:23:16 UTC (rev 15539)
+++ trunk/doc/xsl/postgis_aggs_mm.xml.xsl	2017-08-07 20:40:47 UTC (rev 15540)
@@ -521,7 +521,7 @@
 
 				<xsl:if test="//para[contains(text(),'Enhanced: 2.4')]">
 				<para>Functions enhanced in PostGIS 2.4</para>
-				<para>Most aggregates now marked as parallel safe</para>
+				<para>All aggregates now marked as parallel safe which should allow them to be used in plans that can employ parallelism.</para>
 				<itemizedlist>
 				<!-- Pull out the purpose section for each ref entry and strip whitespace and put in a variable to be tagged unto each function comment  -->
 					<xsl:for-each select='//refentry'>
@@ -552,6 +552,41 @@
 				</itemizedlist>
                 </xsl:if>
 
+
+				<para>Functions changed in PostGIS 2.4</para>
+				<para>All PostGIS aggregates now marked as parallel safe.
+				This will force a drop and recreate of aggregates during upgrade which may fail if any user views or sql functions rely on PostGIS aggregates.</para>
+				<xsl:if test="//para[contains(text(),'Changed: 2.4')]">
+				<itemizedlist>
+				<!-- Pull out the purpose section for each ref entry and strip whitespace and put in a variable to be tagged unto each function comment  -->
+					<xsl:for-each select='//refentry'>
+						<xsl:sort select="refnamediv/refname"/>
+						<xsl:variable name='comment'>
+							<xsl:value-of select="normalize-space(translate(translate(refnamediv/refpurpose,'&#x0d;&#x0a;', ' '), '	', ' '))"/>
+						</xsl:variable>
+						<xsl:variable name="refid">
+							<xsl:value-of select="@id" />
+						</xsl:variable>
+
+						<xsl:variable name="refname">
+							<xsl:value-of select="refnamediv/refname" />
+						</xsl:variable>
+
+
+				<!-- For each section if there is note about availability in this version -->
+							<xsl:for-each select="refsection">
+								<xsl:for-each select="para | */para">
+									<xsl:choose>
+										<xsl:when test="contains(.,'Changed: 2.4')">
+											<listitem><simpara><link linkend="{$refid}"><xsl:value-of select="$refname" /></link> - <xsl:value-of select="." /><xsl:text> </xsl:text> <xsl:value-of select="$comment" /></simpara></listitem>
+										</xsl:when>
+									</xsl:choose>
+								</xsl:for-each>
+							</xsl:for-each>
+					</xsl:for-each>
+				</itemizedlist>
+                </xsl:if>
+
 			</sect2>
 
 			<sect2 id="NewFunctions_2_3">



More information about the postgis-tickets mailing list