Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKqDv-0000Kh-Dp for pgsql-docs@arkaria.postgresql.org; Fri, 01 Dec 2017 18:39:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKqDt-00043b-W0 for pgsql-docs@arkaria.postgresql.org; Fri, 01 Dec 2017 18:39:41 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eKqDt-00043N-F1 for pgsql-docs@lists.postgresql.org; Fri, 01 Dec 2017 18:39:41 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eKqDo-00052C-C5 for pgsql-docs@postgresql.org; Fri, 01 Dec 2017 18:39:39 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 8E40B209AB for ; Fri, 1 Dec 2017 13:39:34 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute7.internal (MEProxy); Fri, 01 Dec 2017 13:39:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=7b2IFZFLcTzL9kYnkVpO+gsxLCZeP6Q/9Juh9yIhcx8=; b=h5cIwURQ AOnFENVjDPfS72UeaHqaB6KhOGkLRP8rKQvjDKjpxXlyVi5/2kRkHOuyGsfcbl3b wph+TIeeDlAoFHaMcLeNXC0WpOoYlGAEF0277zaukV12SZqyVB52TxJoI7DFQo4r 7h9xGhFiuR1ELk2K/HrPai5+EJ/PEU2k3c+CEBU/rTklrdStIdtRcDSSJtk8+s0+ ht2wxXaTEAokM2QxykIZKgIou9indiBTDyMPrVx3JuylwayFchWBsfvpUfB3CKBs WgMAkXs10P8lAjFGuFp7/LX8k1es0vc22C6Zsh+3zUIjYXDWTFQe9uF/FMckzSaV epQeClkBo6j1xg== X-ME-Sender: Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 47A527FB00 for ; Fri, 1 Dec 2017 13:39:34 -0500 (EST) From: Peter Eisentraut Subject: generate.consistent.ids To: pgsql-docs Organization: 2ndQuadrant Message-ID: <9805774a-2e23-51fc-0ed0-afba91ee10ac@2ndquadrant.com> Date: Fri, 1 Dec 2017 13:39:33 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------02DA968B996E50BA3F603326" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------02DA968B996E50BA3F603326 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit When the stylesheets create anchors on elements that don't have an id attribute, they use some internal mechanism to make one up. With the DSSSL stylesheets, those are the things like AEN112787. With the new XSL stylesheets, you similarly get things like idm21497, but unlike the DSSSL way, those are not consistent across builds, because they are made from some internal memory locations. That makes it hard to diff build results without resorting to a bunch of tricks that we have had to use recently to manage the toolchain transition. And such links cannot be shared, because they change on the next build. I found that the setting also enables the XSL stylesheets to produce anchors that are consistent across builds. I would have expected that to increase the build time, but in my testing the penalty is barely noticeable. So I would like to make this change in PG11 and also PG10. Patch attached. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services --------------02DA968B996E50BA3F603326 Content-Type: text/plain; charset=UTF-8; x-mac-type="0"; x-mac-creator="0"; name="0001-doc-Turn-on-generate.consistent.ids-parameter.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-doc-Turn-on-generate.consistent.ids-parameter.patch" RnJvbSBjMDNiMGY1NjU3ZDY0YjQ1N2U4NDRhN2E2ZGM0OWM3YTZhNzY4MWFlIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBQZXRlciBFaXNlbnRyYXV0IDxwZXRlcl9lQGdteC5u ZXQ+CkRhdGU6IEZyaSwgMSBEZWMgMjAxNyAxMzozMDoyMSAtMDUwMApTdWJqZWN0OiBbUEFU Q0hdIGRvYzogVHVybiBvbiBnZW5lcmF0ZS5jb25zaXN0ZW50LmlkcyBwYXJhbWV0ZXIKCi0t LQogZG9jL3NyYy9zZ21sL3N0eWxlc2hlZXQtY29tbW9uLnhzbCB8IDEgKwogMSBmaWxlIGNo YW5nZWQsIDEgaW5zZXJ0aW9uKCspCgpkaWZmIC0tZ2l0IGEvZG9jL3NyYy9zZ21sL3N0eWxl c2hlZXQtY29tbW9uLnhzbCBiL2RvYy9zcmMvc2dtbC9zdHlsZXNoZWV0LWNvbW1vbi54c2wK aW5kZXggNjU4YTVhYzVlMS4uNmQyNmU3ZTVjOSAxMDA2NDQKLS0tIGEvZG9jL3NyYy9zZ21s L3N0eWxlc2hlZXQtY29tbW9uLnhzbAorKysgYi9kb2Mvc3JjL3NnbWwvc3R5bGVzaGVldC1j b21tb24ueHNsCkBAIC0zNiw2ICszNiw3IEBACiA8eHNsOnBhcmFtIG5hbWU9InJlZmVudHJ5 LmdlbmVyYXRlLnRpdGxlIiBzZWxlY3Q9IjEiPjwveHNsOnBhcmFtPgogPHhzbDpwYXJhbSBu YW1lPSJyZWZlbnRyeS54cmVmLm1hbnZvbG51bSIgc2VsZWN0PSIwIi8+CiA8eHNsOnBhcmFt IG5hbWU9ImZvcm1hbC5wcm9jZWR1cmVzIiBzZWxlY3Q9IjAiPjwveHNsOnBhcmFtPgorPHhz bDpwYXJhbSBuYW1lPSJnZW5lcmF0ZS5jb25zaXN0ZW50LmlkcyIgc2VsZWN0PSIxIi8+CiA8 eHNsOnBhcmFtIG5hbWU9InB1bmN0Lmhvbm9yaWZpYyIgc2VsZWN0PSInJyI+PC94c2w6cGFy YW0+CiA8eHNsOnBhcmFtIG5hbWU9InZhcmlhYmxlbGlzdC50ZXJtLmJyZWFrLmFmdGVyIj4x PC94c2w6cGFyYW0+CiA8eHNsOnBhcmFtIG5hbWU9InZhcmlhYmxlbGlzdC50ZXJtLnNlcGFy YXRvciI+PC94c2w6cGFyYW0+Ci0tIAoyLjE1LjAKCg== --------------02DA968B996E50BA3F603326--