Ensure that btree sort ordering functions and boolean comparison operators

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 2792374cff361a7a4ec0e750b5fa935d85afc9ac
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-05-03T19:00:37Z
Releases: 7.1.1
Ensure that btree sort ordering functions and boolean comparison operators
give consistent results for all datatypes.  Types float4, float8, and
numeric were broken for NaN values; abstime, timestamp, and interval
were broken for INVALID values; timetz was just plain broken (some
possible pairs of values were neither < nor = nor >).  Also clean up
text, bpchar, varchar, and bit/varbit to eliminate duplicate code and
thereby reduce the probability of similar inconsistencies arising in
the future.

Files