diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2022-08-31 22:21:32 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2022-08-31 22:21:39 -0400 |
commit | 4ea07e7cf3c6b5ff7a7059c223fa54241533b0a5 (patch) | |
tree | d098758c026e2d4e98a2839d2ebdfb3efcde5abd /src/backend/utils/adt/jsonpath.c | |
parent | fede15417225c08479fc6cd10812a25826c65f86 (diff) | |
download | postgresql-4ea07e7cf3c6b5ff7a7059c223fa54241533b0a5.tar.gz postgresql-4ea07e7cf3c6b5ff7a7059c223fa54241533b0a5.zip |
Adjust XML test case to avoid unstable behavior.
Buildfarm member bowerbird is (inconsistently) showing different
results for this test case since we enabled ASLR for MSVC builds.
It's not very clear whether that's a bug in its version of libxml2
or the test case is relying on nominally-undefined behavior, ie the
ordering of results from XPath's node(). It seems quite unlikely
that it's *our* bug though, and what's more, using node() adds
nothing to the test coverage so far as our code is concerned.
So, tweak the test to not use node().
For the moment, only change HEAD because we've only seen the
problem there. Perhaps a case will emerge for back-patching.
Discussion: https://postgr.es/m/2655387.1661695793@sss.pgh.pa.us
Diffstat (limited to 'src/backend/utils/adt/jsonpath.c')
0 files changed, 0 insertions, 0 deletions