aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/commit_ts.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2020-07-13 10:54:26 +0900
committerMichael Paquier <michael@paquier.xyz>2020-07-13 10:54:26 +0900
commit5bfe6a3c485d3259f59fa2d2e1d34dea1a3baeba (patch)
tree8a8b23b48b9e38572552088f22436d7c29380a1c /src/backend/access/transam/commit_ts.c
parentea3e15d1691ec4cadc67f160cc91c7f237a705ae (diff)
downloadpostgresql-5bfe6a3c485d3259f59fa2d2e1d34dea1a3baeba.tar.gz
postgresql-5bfe6a3c485d3259f59fa2d2e1d34dea1a3baeba.zip
Fix timestamp range handling in regression tests of modules/commit_ts/
Switching the regression tests to use tstzrange() has proved to not be a good idea for environments where the timestamp precision is low, as internal range checks exclude the upper bound. So, if the commit timestamp of a transaction matched with now() from the next query, the test would fail. This changes to use two bound checks instead of the range function, where the upper bound is inclusive. Per buildfarm member jacana. Discussion: https://postgr.es/m/20200712122507.GD21680@paquier.xyz
Diffstat (limited to 'src/backend/access/transam/commit_ts.c')
0 files changed, 0 insertions, 0 deletions