pgsql: Fix handling Inf and Nan values in GiST pairing heap comparator

2019-09-08 Thread Alexander Korotkov
Fix handling Inf and Nan values in GiST pairing heap comparator Previously plain float comparison was used in GiST pairing heap. Such comparison doesn't provide proper ordering for value sets containing Inf and Nan values. This commit fixes that by usage of float8_cmp_internal(). Note, there is

pgsql: Fix handling Inf and Nan values in GiST pairing heap comparator

2019-09-08 Thread Alexander Korotkov
Fix handling Inf and Nan values in GiST pairing heap comparator Previously plain float comparison was used in GiST pairing heap. Such comparison doesn't provide proper ordering for value sets containing Inf and Nan values. This commit fixes that by usage of float8_cmp_internal(). Note, there is

pgsql: Fix handling Inf and Nan values in GiST pairing heap comparator

2019-09-08 Thread Alexander Korotkov
Fix handling Inf and Nan values in GiST pairing heap comparator Previously plain float comparison was used in GiST pairing heap. Such comparison doesn't provide proper ordering for value sets containing Inf and Nan values. This commit fixes that by usage of float8_cmp_internal(). Note, there is

pgsql: Fix handling Inf and Nan values in GiST pairing heap comparator

2019-09-08 Thread Alexander Korotkov
Fix handling Inf and Nan values in GiST pairing heap comparator Previously plain float comparison was used in GiST pairing heap. Such comparison doesn't provide proper ordering for value sets containing Inf and Nan values. This commit fixes that by usage of float8_cmp_internal(). Note, there is

pgsql: Fix handling Inf and Nan values in GiST pairing heap comparator

2019-09-08 Thread Alexander Korotkov
Fix handling Inf and Nan values in GiST pairing heap comparator Previously plain float comparison was used in GiST pairing heap. Such comparison doesn't provide proper ordering for value sets containing Inf and Nan values. This commit fixes that by usage of float8_cmp_internal(). Note, there is

pgsql: Fix handling Inf and Nan values in GiST pairing heap comparator

2019-09-08 Thread Alexander Korotkov
Fix handling Inf and Nan values in GiST pairing heap comparator Previously plain float comparison was used in GiST pairing heap. Such comparison doesn't provide proper ordering for value sets containing Inf and Nan values. This commit fixes that by usage of float8_cmp_internal(). Note, there is

pgsql: Fix handling Inf and Nan values in GiST pairing heap comparator

2019-09-08 Thread Alexander Korotkov
Fix handling Inf and Nan values in GiST pairing heap comparator Previously plain float comparison was used in GiST pairing heap. Such comparison doesn't provide proper ordering for value sets containing Inf and Nan values. This commit fixes that by usage of float8_cmp_internal(). Note, there is