generate.consistent.ids
Hackorum builds and tests every patch posted to the lists, not only commitfest submissions. This is Hackorum's own CI rather than the PostgreSQL project's, and it is still under testing - please report anything that looks wrong.
You can run a PostgreSQL built from this patch straight from Docker, with no checkout and no build:
docker run --rm -p 5432:5432 ghcr.io/hackorum-dev/postgres-patch:t76089psql -h localhost -U postgresBuilt from patchset v1 (message #1), July 27, 2026 at 09:49 PM.
Every patchset is also pushed to a branch of our PostgreSQL fork, so you can check out the same tree CI built. Without a PostgreSQL checkout:
git clone --branch t76089_1 https://github.com/hackorum-dev/postgres.gitIn a checkout you already have, add the fork once:
git remote add hackorum https://github.com/hackorum-dev/postgres.gitthen, for this patchset and every later one:
git fetch hackorum t76089_1 && git checkout t76089_1Patchset v1 (message #1) is on t76089_1
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
<xsl:param name="generate.consistent.ids" select="1"/>
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
On 12/1/17 13:39, Peter Eisentraut wrote:
I found that the setting
<xsl:param name="generate.consistent.ids" select="1"/>
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.
committed to master and PG10
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services