aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-08-25 11:43:37 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2015-08-25 11:43:37 -0400
commitb8c91352a2e168e1c24cc33862a0d95f13fd0957 (patch)
tree3546f9f3a8e0b3f551a8ad2c23e45ffa61ceb9f5 /src/tutorial/basics.source
parent4022f94c350f96fc5feff0503d3e2f2f6f9086cc (diff)
downloadpostgresql-b8c91352a2e168e1c24cc33862a0d95f13fd0957.tar.gz
postgresql-b8c91352a2e168e1c24cc33862a0d95f13fd0957.zip
Fix potential platform dependence in gist regression test.
The results of the KNN-search test cases were indeterminate, as they asked the system to sort pairs of points that are exactly equidistant from the query reference point. It's a bit surprising that we've seen no platform-specific failures from this in the buildfarm. Perhaps IEEE-float math is well enough standardized that no such failures will ever occur on supported platforms ... but since this entire regression test has yet to be shipped in any non-alpha release, that seems like an unduly optimistic assumption. Tweak the queries so that the correct output is uniquely defined. (The other queries in this test are also underdetermined; but it looks like they are regurgitating index rows in insertion order, so for the moment assume that that behavior is stable enough.) Per Greg Stark's experiments with VAX. Back-patch to 9.5 where this test script was introduced.
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions